summaryrefslogtreecommitdiff
path: root/py/compile.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-15 12:15:19 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-15 12:17:09 +1000
commit3751512e9db7ebda9ff06a710038c742ac91126c (patch)
treecf984a0c3ff2c2f64a781208dfaab2bbaeff278d /py/compile.h
parentabb536da499498b94d5c3dc7379fd5136d273f2d (diff)
py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h.
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 3297e83ae..99a17a8d1 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);