From 054848a1b8aa7e52f3c70e86cc4dc56b565ea830 Mon Sep 17 00:00:00 2001 From: Damien Date: Sat, 5 Oct 2013 13:44:41 +0100 Subject: Compiler computes labels and max_num_labels. --- py/compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/compile.c') diff --git a/py/compile.c b/py/compile.c index c6b195ede..b839ac551 100644 --- a/py/compile.c +++ b/py/compile.c @@ -2523,8 +2523,8 @@ void py_compile(py_parse_node_t pn) { } //emit_cpython_new(&comp->emit, &comp->emit_method_table, comp->max_num_labels); - emit_bc_new(&comp->emit, &comp->emit_method_table, comp->max_num_labels); - //emit_new_x64(&comp->emit, &comp->emit_method_table, comp->max_num_labels); + //emit_bc_new(&comp->emit, &comp->emit_method_table, comp->max_num_labels); + emit_x64_new(&comp->emit, &comp->emit_method_table, comp->max_num_labels); for (scope_t *s = comp->scope_head; s != NULL; s = s->next) { compile_scope(comp, s, PASS_2); -- cgit v1.2.3