diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-28 14:07:21 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-28 14:07:21 +0100 |
commit | 503d6110338ab2d79e6c0f8f591a0ca6397717de (patch) | |
tree | bb57f7338aa07d248fb17cc6260d1f36c8bb8b86 /py/emitnative.c | |
parent | 1d567592b18ea9796515436754877aac3948bd29 (diff) | |
download | micropython-503d6110338ab2d79e6c0f8f591a0ca6397717de.tar.gz micropython-503d6110338ab2d79e6c0f8f591a0ca6397717de.zip |
py: Implement long int parsing in int(...).
Addresses issue #627.
Diffstat (limited to 'py/emitnative.c')
-rw-r--r-- | py/emitnative.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitnative.c b/py/emitnative.c index 261b1a2a51..057e42c756 100644 --- a/py/emitnative.c +++ b/py/emitnative.c @@ -704,7 +704,7 @@ STATIC void emit_native_load_const_int(emit_t *emit, qstr qst) { DEBUG_printf("load_const_int %s\n", qstr_str(st)); // for viper: load integer, check fits in 32 bits emit_native_pre(emit); - emit_call_with_imm_arg(emit, MP_F_LOAD_CONST_INT, mp_obj_new_int_from_qstr, qst, REG_ARG_1); + emit_call_with_imm_arg(emit, MP_F_LOAD_CONST_INT, mp_load_const_int, qst, REG_ARG_1); emit_post_push_reg(emit, VTYPE_PYOBJ, REG_RET); } |