diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-20 18:02:27 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-20 18:02:27 +0100 |
commit | 5f6a25fc50503b70af1f3a9a27f13c2a698d0a0e (patch) | |
tree | f8dc88109db6b46e531990df74fbb4d99254b518 /py/vm.c | |
parent | 3558f62fb5c21a19a518c2ba75860f0b5963219e (diff) | |
download | micropython-5f6a25fc50503b70af1f3a9a27f13c2a698d0a0e.tar.gz micropython-5f6a25fc50503b70af1f3a9a27f13c2a698d0a0e.zip |
py: Wrap #if's around emitter functions that are used only by emitcpy.
3 emitter functions are needed only for emitcpy, and so we can #if them
out when compiling with emitcpy support.
Also remove unused SETUP_LOOP bytecode.
Diffstat (limited to 'py/vm.c')
-rw-r--r-- | py/vm.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -481,13 +481,6 @@ dispatch_loop: } DISPATCH(); - /* we are trying to get away without using this opcode - ENTRY(MP_BC_SETUP_LOOP): - DECODE_UINT; - // push_block(MP_BC_SETUP_LOOP, ip + unum, sp) - DISPATCH(); - */ - ENTRY(MP_BC_SETUP_WITH): obj1 = TOP(); SET_TOP(mp_load_attr(obj1, MP_QSTR___exit__)); |