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

@@ -32,7 +32,6 @@
#define MP_BC_LOAD_CONST_FALSE (0x10)
#define MP_BC_LOAD_CONST_NONE (0x11)
#define MP_BC_LOAD_CONST_TRUE (0x12)
#define MP_BC_LOAD_CONST_ELLIPSIS (0x13)
#define MP_BC_LOAD_CONST_SMALL_INT (0x14) // signed var-int
#define MP_BC_LOAD_CONST_BYTES (0x15) // qstr
#define MP_BC_LOAD_CONST_STRING (0x16) // qstr