aboutsummaryrefslogtreecommitdiff
path: root/py/bc0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2013-12-30 22:32:17 +0000
committerDamien George <damien.p.george@gmail.com>2013-12-30 22:32:17 +0000
commit6baf76e28b17055fc6e5a6c9560e756d32eaad5d (patch)
treef4245858b6755d6731a7ec6c9f0a6fc49901eb5b /py/bc0.h
parent8cc96a35e532ef999e5a3739deeb44f51a80744b (diff)
py: make closures work.
Diffstat (limited to 'py/bc0.h')
-rw-r--r--py/bc0.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/py/bc0.h b/py/bc0.h
index e6dc84277..773e23d2e 100644
--- a/py/bc0.h
+++ b/py/bc0.h
@@ -13,12 +13,11 @@
#define MP_BC_LOAD_FAST_2 (0x22)
#define MP_BC_LOAD_FAST_N (0x23) // uint
#define MP_BC_LOAD_DEREF (0x24) // uint
-#define MP_BC_LOAD_CLOSURE (0x25) // uint
-#define MP_BC_LOAD_NAME (0x26) // qstr
-#define MP_BC_LOAD_GLOBAL (0x27) // qstr
-#define MP_BC_LOAD_ATTR (0x28) // qstr
-#define MP_BC_LOAD_METHOD (0x29) // qstr
-#define MP_BC_LOAD_BUILD_CLASS (0x2a)
+#define MP_BC_LOAD_NAME (0x25) // qstr
+#define MP_BC_LOAD_GLOBAL (0x26) // qstr
+#define MP_BC_LOAD_ATTR (0x27) // qstr
+#define MP_BC_LOAD_METHOD (0x28) // qstr
+#define MP_BC_LOAD_BUILD_CLASS (0x29)
#define MP_BC_STORE_FAST_0 (0x30)
#define MP_BC_STORE_FAST_1 (0x31)