summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/compile.h')
-rw-r--r--py/compile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/compile.h b/py/compile.h
index 99a17a8d1e..1ad1f5e9cd 100644
--- a/py/compile.h
+++ b/py/compile.h
@@ -32,11 +32,11 @@
// 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);
+mp_obj_t mp_compile(mp_parse_tree_t *parse_tree, qstr source_file, bool is_repl);
#if MICROPY_PERSISTENT_CODE_SAVE
// this has the same semantics as mp_compile
-mp_raw_code_t *mp_compile_to_raw_code(mp_parse_tree_t *parse_tree, qstr source_file, uint emit_opt, bool is_repl);
+mp_raw_code_t *mp_compile_to_raw_code(mp_parse_tree_t *parse_tree, qstr source_file, bool is_repl);
#endif
// this is implemented in runtime.c