diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-09-08 00:10:10 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-09-08 00:10:10 +0300 |
commit | b8ee7ab5b988f424e34e778fe3a679710d675efa (patch) | |
tree | 82191926bbaef91a9ea4bd6497378f498ff6ca63 /py/objint_mpz.c | |
parent | c460f6f15af681860f7606761da7579c9945761b (diff) |
py/runtime0.h: Put inplace arith ops in front of normal operations.
This is to allow to place reverse ops immediately after normal ops, so
they can be tested as one range (which is optimization for reverse ops
introduction in the next patch).
Diffstat (limited to 'py/objint_mpz.c')
-rw-r--r-- | py/objint_mpz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint_mpz.c b/py/objint_mpz.c index c7a3074ba..0e318b492 100644 --- a/py/objint_mpz.c +++ b/py/objint_mpz.c @@ -221,7 +221,7 @@ mp_obj_t mp_obj_int_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_obj_t rhs_i return mp_obj_new_float(flhs / frhs); #endif - } else if (op >= MP_BINARY_OP_OR) { + } else if (op >= MP_BINARY_OP_INPLACE_OR) { mp_obj_int_t *res = mp_obj_int_new_mpz(); switch (op) { |