From d1e443d0bc073c55ffab880292f3b645ed37a029 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 29 Mar 2014 11:39:36 +0000 Subject: py: Free unique_code slot for outer module. Partly (very partly!) addresses issue #386. Most importantly, at the REPL command line, each invocation does not now lead to increased memory usage (unless you define a function/lambda). --- py/emitglue.h | 1 - 1 file changed, 1 deletion(-) (limited to 'py/emitglue.h') diff --git a/py/emitglue.h b/py/emitglue.h index e06578e22..8f69951c2 100644 --- a/py/emitglue.h +++ b/py/emitglue.h @@ -3,7 +3,6 @@ void mp_emit_glue_init(void); void mp_emit_glue_deinit(void); uint mp_emit_glue_get_unique_code_id(void); -uint mp_emit_glue_get_unique_code(uint unique_code_id); void mp_emit_glue_assign_byte_code(uint unique_code_id, byte *code, uint len, int n_args, int n_locals, uint scope_flags, qstr *arg_names); void mp_emit_glue_assign_native_code(uint unique_code_id, void *f, uint len, int n_args); void mp_emit_glue_assign_inline_asm_code(uint unique_code_id, void *f, uint len, int n_args); -- cgit v1.2.3