Damien George | 2326d52 | 2014-03-27 23:26:35 +0000 | [diff] [blame] | 1 | // These variables and functions glue the code emitters to the runtime. |
| 2 | |
| 3 | void mp_emit_glue_init(void); |
| 4 | void mp_emit_glue_deinit(void); |
| 5 | uint mp_emit_glue_get_unique_code_id(void); |
Damien George | 2326d52 | 2014-03-27 23:26:35 +0000 | [diff] [blame] | 6 | void mp_emit_glue_assign_byte_code(uint unique_code_id, byte *code, uint len, int n_args, int n_locals, uint scope_flags, qstr *arg_names); |
| 7 | void mp_emit_glue_assign_native_code(uint unique_code_id, void *f, uint len, int n_args); |
| 8 | void mp_emit_glue_assign_inline_asm_code(uint unique_code_id, void *f, uint len, int n_args); |