From a32c1e41cc28c5f7cd95191918cebd0e447a2fce Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 7 May 2014 18:30:52 +0100 Subject: py: Improve native emitter; now supports more opcodes. --- py/runtime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'py/runtime.c') 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, }; /* -- cgit v1.2.3