commit | d9d92f27d7cce287850d971abf3104d2230092fa | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Sat Mar 09 10:59:25 2019 +1100 |
committer | Damien George <damien.p.george@gmail.com> | Thu Mar 14 12:22:25 2019 +1100 |
tree | e69b50bfa4b143f0a6e4efe76fc1d9834e7356fc | |
parent | 0e4c24ec08c19773b26a662abb133c05b474b1fa [diff] [blame] |
py/compile: Add support to select the native emitter at runtime.
diff --git a/py/emitbc.c b/py/emitbc.c index 4142e89..35eb6df 100644 --- a/py/emitbc.c +++ b/py/emitbc.c
@@ -909,6 +909,11 @@ #if MICROPY_EMIT_NATIVE const emit_method_table_t emit_bc_method_table = { + #if MICROPY_DYNAMIC_COMPILER + NULL, + NULL, + #endif + mp_emit_bc_start_pass, mp_emit_bc_end_pass, mp_emit_bc_last_emit_was_return_value,