diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-08 21:32:29 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-08 21:32:29 +0100 |
commit | f4c9b33abf0ac6ff97cd39331d125a74fd2bb897 (patch) | |
tree | 64bdfb7d6d032d826640e1f9a43956b0b3947591 /py/vm.c | |
parent | 4671392d90e98ea4edf6e9ce7023d21cc9957d8c (diff) | |
download | micropython-f4c9b33abf0ac6ff97cd39331d125a74fd2bb897.tar.gz micropython-f4c9b33abf0ac6ff97cd39331d125a74fd2bb897.zip |
py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR.
This makes the runtime and object APIs more consistent. mp_store_subscr
functionality now moved into objects (ie list and dict store_item).
Diffstat (limited to 'py/vm.c')
-rw-r--r-- | py/vm.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -324,11 +324,6 @@ dispatch_loop: mp_delete_global(qst); break; - case MP_BC_DELETE_SUBSCR: - mp_delete_subscr(sp[-1], sp[0]); - sp -= 2; - break; - case MP_BC_DUP_TOP: obj1 = TOP(); PUSH(obj1); |