summaryrefslogtreecommitdiff
path: root/py/vm.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-27 19:12:05 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-27 19:12:05 +0100
commit968bf34c4c7c457816eb3a9d8358519ba1d3a65f (patch)
treeb186c3207777c6f4553589ad19a3e2dc385aeb52 /py/vm.c
parentdb128919187d86962f7ba46ddb072c1dfe53eb7e (diff)
py: Remove unnecessary LOAD_CONST_ID bytecode.
It's the same as LOAD_CONST_STR.
Diffstat (limited to 'py/vm.c')
-rw-r--r--py/vm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/py/vm.c b/py/vm.c
index 9cf469673..d3eb97042 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -296,11 +296,6 @@ dispatch_loop:
PUSH(mp_load_const_dec(qst));
DISPATCH();
- ENTRY(MP_BC_LOAD_CONST_ID):
- DECODE_QSTR;
- PUSH(mp_load_const_str(qst)); // TODO
- DISPATCH();
-
ENTRY(MP_BC_LOAD_CONST_BYTES):
DECODE_QSTR;
PUSH(mp_load_const_bytes(qst));