aboutsummaryrefslogtreecommitdiff
path: root/py/bc0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-12 18:20:40 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-12 18:20:40 +0100
commit6ce427755112c28f8a7efab65d329205d833f623 (patch)
tree47b3b292e4472cc15996b745202dd98133e89feb /py/bc0.h
parentc2803db010ab575e9387e4eaf2f8090b083b3c5f (diff)
py: Make all LOAD_FAST ops check for unbound local.
This is necessary to catch all cases where locals are referenced before assignment. We still keep the _0, _1, _2 versions of LOAD_FAST to help reduced the byte code size in RAM. Addresses issue #457.
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 e6a0e2124..7d6e52b72 100644
--- a/py/bc0.h
+++ b/py/bc0.h
@@ -17,7 +17,6 @@
#define MP_BC_LOAD_FAST_1 (0x21)
#define MP_BC_LOAD_FAST_2 (0x22)
#define MP_BC_LOAD_FAST_N (0x23) // uint
-#define MP_BC_LOAD_FAST_CHECKED (0x24) // uint
#define MP_BC_LOAD_DEREF (0x25) // uint
#define MP_BC_LOAD_NAME (0x26) // qstr
#define MP_BC_LOAD_GLOBAL (0x27) // qstr