summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/compile.h')
-rw-r--r--py/compile.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/py/compile.h b/py/compile.h
index 3297e83aeb..99a17a8d1e 100644
--- a/py/compile.h
+++ b/py/compile.h
@@ -30,15 +30,6 @@
#include "py/parse.h"
#include "py/emitglue.h"
-// These must fit in 8 bits; see scope.h
-enum {
- MP_EMIT_OPT_NONE,
- MP_EMIT_OPT_BYTECODE,
- MP_EMIT_OPT_NATIVE_PYTHON,
- MP_EMIT_OPT_VIPER,
- MP_EMIT_OPT_ASM,
-};
-
// the compiler will raise an exception if an error occurred
// the compiler will clear the parse tree before it returns
mp_obj_t mp_compile(mp_parse_tree_t *parse_tree, qstr source_file, uint emit_opt, bool is_repl);