diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-09 21:23:17 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-09 21:23:17 +1100 |
commit | e920bab9768f71c7e22fcfc5af3e1c40f2db8eeb (patch) | |
tree | 70fe0b48f904fed208fbf0726db09f0250101dba /py/emit.h | |
parent | dd53b12193dca4800ab207170fcc883142dd0f22 (diff) | |
download | micropython-e920bab9768f71c7e22fcfc5af3e1c40f2db8eeb.tar.gz micropython-e920bab9768f71c7e22fcfc5af3e1c40f2db8eeb.zip |
py/emitinline: Move common code for end of final pass to compiler.
This patch moves some common code from the individual inline assemblers to
the compiler, the code that calls the emit-glue to assign the machine code
to the functions scope.
Diffstat (limited to 'py/emit.h')
-rw-r--r-- | py/emit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ void mp_emit_bc_end_except_handler(emit_t *emit); typedef struct _emit_inline_asm_t emit_inline_asm_t; typedef struct _emit_inline_asm_method_table_t { - void (*start_pass)(emit_inline_asm_t *emit, pass_kind_t pass, scope_t *scope, mp_obj_t *error_slot); + void (*start_pass)(emit_inline_asm_t *emit, pass_kind_t pass, mp_obj_t *error_slot); void (*end_pass)(emit_inline_asm_t *emit, mp_uint_t type_sig); mp_uint_t (*count_params)(emit_inline_asm_t *emit, mp_uint_t n_params, mp_parse_node_t *pn_params); bool (*label)(emit_inline_asm_t *emit, mp_uint_t label_num, qstr label_id); |