summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-07 18:30:52 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-07 18:30:52 +0100
commita32c1e41cc28c5f7cd95191918cebd0e447a2fce (patch)
treecc6a7b0c47d4ad2e96c8142a73a6eaaf77f6fa34 /py/runtime.c
parent36db6bcf54fd32a247c85719832a9cf43e124ab5 (diff)
py: Improve native emitter; now supports more opcodes.
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c
index fd5752fbe..a5a5bc5a4 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -1132,7 +1132,7 @@ void *m_malloc_fail(int num_bytes) {
// these must correspond to the respective enum
void *const mp_fun_table[MP_F_NUMBER_OF] = {
mp_load_const_dec,
- mp_obj_new_int_from_long_str,
+ mp_obj_new_int_from_qstr,
mp_load_const_str,
mp_load_name,
mp_load_global,
@@ -1162,6 +1162,7 @@ void *const mp_fun_table[MP_F_NUMBER_OF] = {
mp_import_all,
mp_obj_new_slice,
mp_unpack_sequence,
+ mp_unpack_ex,
};
/*