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/emitcpy.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/emitcpy.c')
-rw-r--r-- | py/emitcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitcpy.c b/py/emitcpy.c index c54345c907..924a5566d9 100644 --- a/py/emitcpy.c +++ b/py/emitcpy.c @@ -245,7 +245,7 @@ STATIC void emit_cpy_load_null(emit_t *emit) { assert(0); } -STATIC void emit_cpy_load_fast(emit_t *emit, qstr qst, mp_uint_t id_flags, mp_uint_t local_num) { +STATIC void emit_cpy_load_fast(emit_t *emit, qstr qst, mp_uint_t local_num) { emit_pre(emit, 1, 3); if (emit->pass == MP_PASS_EMIT) { printf("LOAD_FAST " UINT_FMT " %s\n", local_num, qstr_str(qst)); |