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/emitbc.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/emitbc.c')
-rw-r--r-- | py/emitbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitbc.c b/py/emitbc.c index 436fdf1430..6be8f46229 100644 --- a/py/emitbc.c +++ b/py/emitbc.c @@ -498,7 +498,7 @@ STATIC void emit_bc_load_null(emit_t *emit) { emit_write_bytecode_byte(emit, MP_BC_LOAD_NULL); }; -STATIC void emit_bc_load_fast(emit_t *emit, qstr qst, mp_uint_t id_flags, mp_uint_t local_num) { +STATIC void emit_bc_load_fast(emit_t *emit, qstr qst, mp_uint_t local_num) { assert(local_num >= 0); emit_bc_pre(emit, 1); if (local_num <= 15) { |