py/emitinline: Move inline-asm align and data methods to compiler.

These are generic methods that don't depend on the architecture and so
can be handled directly by the compiler.
This commit is contained in:
Damien George
2016-12-09 20:54:54 +11:00
parent a7fd786a1f
commit dd53b12193
4 changed files with 5 additions and 24 deletions

View File

@@ -266,8 +266,6 @@ typedef struct _emit_inline_asm_method_table_t {
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);
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);
} emit_inline_asm_method_table_t;