summaryrefslogtreecommitdiff
path: root/py/objgenerator.c
diff options
context:
space:
mode:
authorPepijn de Vos <pepijndevos@gmail.com>2023-02-25 17:01:28 +0100
committerDamien George <damien@micropython.org>2023-02-27 10:25:39 +1100
commit72e93183253586b4b1bb502287e67b58470f7a5c (patch)
tree2f0415f8f1ae50f3da9ecc407a29370ef7a2d5b1 /py/objgenerator.c
parent2e4dda3c2072c4de15ac8d51ddb471b9c3833db7 (diff)
py/emitnative: Explicitly compare comparison ops in binary_op emitter.
Without this it's possible to get a compiler error about the comparison always being true, because MP_BINARY_OP_LESS is 0. And it seems that gcc optimises these 6 equality comparisons into the same size machine code as before.
Diffstat (limited to 'py/objgenerator.c')
0 files changed, 0 insertions, 0 deletions