diff options
author | Damien George <damien.p.george@gmail.com> | 2015-10-23 01:23:11 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-13 12:49:18 +0000 |
commit | 713ea1800d1f0c82a0c75885ad034705556ab5ef (patch) | |
tree | ac865eaf1d258007dbd6718d972967886d9a39e8 /py/emitinlinethumb.c | |
parent | 3a3db4dcf0400cffef860f61a84979cb1f7a7541 (diff) | |
download | micropython-713ea1800d1f0c82a0c75885ad034705556ab5ef.tar.gz micropython-713ea1800d1f0c82a0c75885ad034705556ab5ef.zip |
py: Add constant table to bytecode.
Contains just argument names at the moment but makes it easy to add
arbitrary constants.
Diffstat (limited to 'py/emitinlinethumb.c')
-rw-r--r-- | py/emitinlinethumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitinlinethumb.c b/py/emitinlinethumb.c index 14cbf57ec2..949ef7a133 100644 --- a/py/emitinlinethumb.c +++ b/py/emitinlinethumb.c @@ -90,7 +90,7 @@ STATIC void emit_inline_thumb_end_pass(emit_inline_asm_t *emit) { if (emit->pass == MP_PASS_EMIT) { void *f = asm_thumb_get_code(emit->as); - mp_emit_glue_assign_native(emit->scope->raw_code, MP_CODE_NATIVE_ASM, f, asm_thumb_get_code_size(emit->as), emit->scope->num_pos_args, 0, 0); + mp_emit_glue_assign_native(emit->scope->raw_code, MP_CODE_NATIVE_ASM, f, asm_thumb_get_code_size(emit->as), NULL, emit->scope->num_pos_args, 0, 0); } } |