diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-10-13 16:39:46 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-04-18 15:09:34 +0100 |
| commit | 61398ab45a2ef27ce44769b4259ee97b583f2978 (patch) | |
| tree | f69060919c31a0e720f383470eb62d59fe8b9fb6 /py/emit.h | |
| parent | 5bf649f37065ac0855f55f99496adb4cce63557d (diff) | |
py: Implement parse bytecode.
Diffstat (limited to 'py/emit.h')
| -rw-r--r-- | py/emit.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -270,10 +270,12 @@ 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 (*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); + void (*end_pass)(emit_inline_asm_t *emit, mp_uint_t type_sig); + mp_uint_t (*count_params)(emit_inline_asm_t *emit, const byte *p, const byte *ptop); bool (*label)(emit_inline_asm_t *emit, mp_uint_t label_num, qstr label_id); void (*align)(emit_inline_asm_t *emit, mp_uint_t align); void (*data)(emit_inline_asm_t *emit, mp_uint_t bytesize, mp_uint_t val); - void (*op)(emit_inline_asm_t *emit, qstr op, mp_uint_t n_args, mp_parse_node_t *pn_args); + void (*op)(emit_inline_asm_t *emit, qstr op, mp_uint_t n_args, const byte **pn_args); } emit_inline_asm_method_table_t; extern const emit_inline_asm_method_table_t emit_inline_thumb_method_table; |
