diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-07 18:30:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-07 18:30:52 +0100 |
commit | a32c1e41cc28c5f7cd95191918cebd0e447a2fce (patch) | |
tree | cc6a7b0c47d4ad2e96c8142a73a6eaaf77f6fa34 /py/runtime.c | |
parent | 36db6bcf54fd32a247c85719832a9cf43e124ab5 (diff) |
py: Improve native emitter; now supports more opcodes.
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 3 |
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, }; /* |