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/vm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'py/vm.c') diff --git a/py/vm.c b/py/vm.c index 997884d4f..38e15eef3 100644 --- a/py/vm.c +++ b/py/vm.c @@ -192,10 +192,6 @@ dispatch_loop: PUSH(mp_const_true); DISPATCH(); - ENTRY(MP_BC_LOAD_CONST_ELLIPSIS): - PUSH((mp_obj_t)&mp_const_ellipsis_obj); - DISPATCH(); - ENTRY(MP_BC_LOAD_CONST_SMALL_INT): { mp_int_t num = 0; if ((ip[0] & 0x40) != 0) { -- cgit v1.2.3