py: Remove LOAD_CONST_ELLIPSIS bytecode, use LOAD_CONST_OBJ instead.
Ellipsis constant is rarely used so no point having an extra bytecode for it.
This commit is contained in:
@@ -142,10 +142,6 @@ const byte *mp_bytecode_print_str(const byte *ip) {
|
||||
printf("LOAD_CONST_TRUE");
|
||||
break;
|
||||
|
||||
case MP_BC_LOAD_CONST_ELLIPSIS:
|
||||
printf("LOAD_CONST_ELLIPSIS");
|
||||
break;
|
||||
|
||||
case MP_BC_LOAD_CONST_SMALL_INT: {
|
||||
mp_int_t num = 0;
|
||||
if ((ip[0] & 0x40) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user