summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 1057cef041..83fea3eb41 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -205,6 +205,9 @@ typedef struct _mp_state_vm_t {
#if MICROPY_ENABLE_COMPILER
mp_uint_t mp_optimise_value;
+ #if MICROPY_EMIT_NATIVE
+ uint8_t default_emit_opt; // one of MP_EMIT_OPT_xxx
+ #endif
#endif
// size of the emergency exception buf, if it's dynamically allocated