summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-16 23:58:48 +0100
committerDamien <damien.p.george@gmail.com>2013-10-16 23:58:48 +0100
commitd2755ec538ab815561e7592b5afa6dcfcb557fbb (patch)
treee3aee82c88927f5918975298951d456c0d582551 /py/runtime.h
parentc12aa468a1ffcbefdb3a260917452fbdb0f85bf2 (diff)
downloadmicropython-d2755ec538ab815561e7592b5afa6dcfcb557fbb.tar.gz
micropython-d2755ec538ab815561e7592b5afa6dcfcb557fbb.zip
Add iterators and comprehension to emitnative.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h
index e7ac934bf5..8d68adccf5 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -59,15 +59,20 @@ typedef enum {
RT_F_STORE_SUBSCR,
RT_F_IS_TRUE,
RT_F_UNARY_OP,
+ RT_F_BUILD_TUPLE,
RT_F_BUILD_LIST,
+ RT_F_LIST_APPEND,
RT_F_BUILD_MAP,
RT_F_STORE_MAP,
RT_F_BUILD_SET,
+ RT_F_STORE_SET,
RT_F_MAKE_FUNCTION_FROM_ID,
RT_F_CALL_FUNCTION_N,
RT_F_CALL_METHOD_N,
RT_F_BINARY_OP,
RT_F_COMPARE_OP,
+ RT_F_GETITER,
+ RT_F_ITERNEXT,
RT_F_NUMBER_OF,
} rt_fun_kind_t;