Native Python and Viper support for x64 and thumb all together.
diff --git a/py/compile.c b/py/compile.c
index 7624b03..f4a5886 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -2706,10 +2706,10 @@
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;