summaryrefslogtreecommitdiff
path: root/lib/tinytest/tinytest.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-12-08 19:07:00 +1100
committerDamien George <damien.p.george@gmail.com>2017-12-08 19:07:00 +1100
commit53e111800f9e53733042442eefea0ffc293a35df (patch)
tree240053c18ec59ee838c37c3b411a38d937ccf405 /lib/tinytest/tinytest.h
parentf935bce3c52e8eb8f48f7f4947b1210074c359a6 (diff)
py/asmbase: Revert removal of clearing of label offsets for native emit.
The assembler back-end for most architectures needs to know if a jump is backwards in order to emit optimised machine code, and they do this by checking if the destination label has been set or not. So always reset label offsets to -1 (this reverts partially the previous commit, with some minor optimisation for the if-logic with the pass variable).
Diffstat (limited to 'lib/tinytest/tinytest.h')
0 files changed, 0 insertions, 0 deletions