aboutsummaryrefslogtreecommitdiff
path: root/py/bc0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-20 18:02:27 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-20 18:02:27 +0100
commit5f6a25fc50503b70af1f3a9a27f13c2a698d0a0e (patch)
treef8dc88109db6b46e531990df74fbb4d99254b518 /py/bc0.h
parent3558f62fb5c21a19a518c2ba75860f0b5963219e (diff)
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/bc0.h')
-rw-r--r--py/bc0.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/bc0.h b/py/bc0.h
index 57c2d2ea6..37bd90414 100644
--- a/py/bc0.h
+++ b/py/bc0.h
@@ -51,7 +51,6 @@
#define MP_BC_POP_JUMP_IF_FALSE (0x47) // rel byte code offset, 16-bit signed, in excess
#define MP_BC_JUMP_IF_TRUE_OR_POP (0x48) // rel byte code offset, 16-bit signed, in excess
#define MP_BC_JUMP_IF_FALSE_OR_POP (0x49) // rel byte code offset, 16-bit signed, in excess
-#define MP_BC_SETUP_LOOP (0x4a) // rel byte code offset, 16-bit unsigned
#define MP_BC_SETUP_WITH (0x4d) // rel byte code offset, 16-bit unsigned
#define MP_BC_WITH_CLEANUP (0x4e)
#define MP_BC_SETUP_EXCEPT (0x4f) // rel byte code offset, 16-bit unsigned