diff options
Diffstat (limited to 'py/emitbc.c')
-rw-r--r-- | py/emitbc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/emitbc.c b/py/emitbc.c index 7957a21314..2f5304deb1 100644 --- a/py/emitbc.c +++ b/py/emitbc.c @@ -34,6 +34,8 @@ #include "py/emit.h" #include "py/bc0.h" +#if MICROPY_ENABLE_COMPILER + #define BYTES_FOR_INT ((BYTES_PER_WORD * 8 + 6) / 7) #define DUMMY_DATA_SIZE (BYTES_FOR_INT) @@ -1070,3 +1072,5 @@ const mp_emit_method_table_id_ops_t mp_emit_bc_method_table_delete_id_ops = { mp_emit_bc_delete_global, }; #endif + +#endif //MICROPY_ENABLE_COMPILER |