summaryrefslogtreecommitdiff
path: root/py/showbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-05 22:15:42 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-05 22:15:42 +0100
commit8872abcbc4107c8d3eaf148a03813e607aa30bfb (patch)
tree1ada91c0578c1aac3770bf145a4611a16a58b94d /py/showbc.c
parent37c6555b4419eb6027a345ee0c3e759d50da771f (diff)
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.
Diffstat (limited to 'py/showbc.c')
-rw-r--r--py/showbc.c4
1 files changed, 0 insertions, 4 deletions
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) {