From 13ed3a658d9a52c276aab94ea24c7cf78e876740 Mon Sep 17 00:00:00 2001 From: Damien Date: Tue, 8 Oct 2013 09:05:10 +0100 Subject: Native Python and Viper support for x64 and thumb all together. --- 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 7624b03e37..f4a5886b0b 100644 --- a/py/compile.c +++ b/py/compile.c @@ -2706,10 +2706,10 @@ void py_compile(py_parse_node_t pn) { case EMIT_OPT_NATIVE_PYTHON: case EMIT_OPT_VIPER: if (emit_native == NULL) { - emit_native = emit_x64_new(max_num_labels); + emit_native = emit_native_x64_new(max_num_labels); } comp->emit = emit_native; - comp->emit_method_table = &emit_x64_method_table; + comp->emit_method_table = &emit_native_x64_method_table; comp->emit_method_table->set_native_types(comp->emit, s->emit_options == EMIT_OPT_VIPER); break; -- cgit v1.2.3