diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-16 12:24:49 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-16 12:24:49 +0000 |
commit | 0abb5609b01c1b59d229bde8a0b3fc1df6dce060 (patch) | |
tree | 20dc5ac729bde46c6c2192d1b72d54120afc991c /py/emitnative.c | |
parent | 2276eb808499b81f7c6e32ab1d497afa020c9379 (diff) | |
download | micropython-0abb5609b01c1b59d229bde8a0b3fc1df6dce060.tar.gz micropython-0abb5609b01c1b59d229bde8a0b3fc1df6dce060.zip |
py: Remove unnecessary id_flags argument from emitter's load_fast.
Saves 24 bytes in bare-arm.
Diffstat (limited to 'py/emitnative.c')
-rw-r--r-- | py/emitnative.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/emitnative.c b/py/emitnative.c index c7cbbf4516..a8e547f0d3 100644 --- a/py/emitnative.c +++ b/py/emitnative.c @@ -1184,8 +1184,8 @@ STATIC void emit_native_load_null(emit_t *emit) { emit_post_push_imm(emit, VTYPE_PYOBJ, 0); } -STATIC void emit_native_load_fast(emit_t *emit, qstr qst, mp_uint_t id_flags, mp_uint_t local_num) { - DEBUG_printf("load_fast(%s, " UINT_FMT ", " UINT_FMT ")\n", qstr_str(qst), id_flags, local_num); +STATIC void emit_native_load_fast(emit_t *emit, qstr qst, mp_uint_t local_num) { + DEBUG_printf("load_fast(%s, " UINT_FMT ")\n", qstr_str(qst), local_num); vtype_kind_t vtype = emit->local_vtype[local_num]; if (vtype == VTYPE_UNBOUND) { printf("ViperTypeError: local %s used before type known\n", qstr_str(qst)); |