mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py/compile: Add support to select the native emitter at runtime.
This commit is contained in:
@@ -2727,6 +2727,11 @@ STATIC void emit_native_end_except_handler(emit_t *emit) {
|
||||
}
|
||||
|
||||
const emit_method_table_t EXPORT_FUN(method_table) = {
|
||||
#if MICROPY_DYNAMIC_COMPILER
|
||||
EXPORT_FUN(new),
|
||||
EXPORT_FUN(free),
|
||||
#endif
|
||||
|
||||
emit_native_start_pass,
|
||||
emit_native_end_pass,
|
||||
emit_native_last_emit_was_return_value,
|
||||
|
||||
Reference in New Issue
Block a user