summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitcpy.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-24 22:42:28 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-24 22:42:28 +0000
commit41d02b654e5c844f85fbb79283eaebf35af60fbb (patch)
tree224166f307256d81c08564546634106f7a8b0435 /py/emitcpy.c
parentceb87835fe24873cd8b2f7d1d3d88cb6144e33b8 (diff)
downloadmicropython-41d02b654e5c844f85fbb79283eaebf35af60fbb.tar.gz
micropython-41d02b654e5c844f85fbb79283eaebf35af60fbb.zip
py: Improve freeing of emitters in mp_compile.
There can be multiple emitters allocated during compile (eg byte code and native).
Diffstat (limited to 'py/emitcpy.c')
-rw-r--r--py/emitcpy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/py/emitcpy.c b/py/emitcpy.c
index 6984ebf4bd..de2a5784db 100644
--- a/py/emitcpy.c
+++ b/py/emitcpy.c
@@ -796,8 +796,6 @@ static void emit_cpy_yield_from(emit_t *emit) {
}
const emit_method_table_t emit_cpython_method_table = {
- NULL,
-
emit_cpy_set_native_types,
emit_cpy_start_pass,
emit_cpy_end_pass,