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:
Damien George
2015-05-05 22:15:42 +01:00
parent 37c6555b44
commit 8872abcbc4
5 changed files with 1 additions and 11 deletions

View File

@@ -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) {