py: Tidy up BINARY_OPs; negation done by special NOT bytecode.
IS_NOT and NOT_IN are now compiled to IS + NOT and IN + NOT, with a new
special NOT bytecode.
diff --git a/py/objint_longlong.c b/py/objint_longlong.c
index a59bcf0..83db603 100644
--- a/py/objint_longlong.c
+++ b/py/objint_longlong.c
@@ -103,17 +103,17 @@
case RT_BINARY_OP_INPLACE_RSHIFT:
lhs->val >>= (int)rhs_val; return lhs;
- case RT_COMPARE_OP_LESS:
+ case RT_BINARY_OP_LESS:
return MP_BOOL(lhs->val < rhs_val);
- case RT_COMPARE_OP_MORE:
+ case RT_BINARY_OP_MORE:
return MP_BOOL(lhs->val > rhs_val);
- case RT_COMPARE_OP_LESS_EQUAL:
+ case RT_BINARY_OP_LESS_EQUAL:
return MP_BOOL(lhs->val <= rhs_val);
- case RT_COMPARE_OP_MORE_EQUAL:
+ case RT_BINARY_OP_MORE_EQUAL:
return MP_BOOL(lhs->val >= rhs_val);
- case RT_COMPARE_OP_EQUAL:
+ case RT_BINARY_OP_EQUAL:
return MP_BOOL(lhs->val == rhs_val);
- case RT_COMPARE_OP_NOT_EQUAL:
+ case RT_BINARY_OP_NOT_EQUAL:
return MP_BOOL(lhs->val != rhs_val);
default: