From 8872abcbc4107c8d3eaf148a03813e607aa30bfb Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 5 May 2015 22:15:42 +0100 Subject: 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. --- py/showbc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'py/showbc.c') diff --git a/py/showbc.c b/py/showbc.c index c9eeaff9f..30b51de62 100644 --- a/py/showbc.c +++ b/py/showbc.c @@ -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) { -- cgit v1.2.3