summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-16 22:31:57 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-16 22:31:57 +0100
commit7fe2191c9b72e16d271735ca24a9def7ba072217 (patch)
tree70def977a706546272b0f4237bec92598b95054b /py/runtime0.h
parent86de21b810693bccdd88d53aacb6d8acf26f09e0 (diff)
py: Code clean-up in native emitter; improve thumb native calls.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index 8ae8afacc..7bb16545f 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -107,6 +107,7 @@ typedef enum {
MP_F_LOAD_CONST_INT,
MP_F_LOAD_CONST_DEC,
MP_F_LOAD_CONST_STR,
+ MP_F_LOAD_CONST_BYTES,
MP_F_LOAD_NAME,
MP_F_LOAD_GLOBAL,
MP_F_LOAD_BUILD_CLASS,
@@ -133,9 +134,11 @@ typedef enum {
MP_F_CALL_METHOD_N_KW,
MP_F_GETITER,
MP_F_ITERNEXT,
+ MP_F_NLR_PUSH,
+ MP_F_NLR_POP,
MP_F_NATIVE_RAISE,
MP_F_IMPORT_NAME,
- MP_F_IMPORT_FROM, // = 31 XXX this is the limit for thumb code...
+ MP_F_IMPORT_FROM,
MP_F_IMPORT_ALL,
#if MICROPY_PY_BUILTINS_SLICE
MP_F_NEW_SLICE,