summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-08 09:05:10 +0100
committerDamien <damien.p.george@gmail.com>2013-10-08 09:05:10 +0100
commit13ed3a658d9a52c276aab94ea24c7cf78e876740 (patch)
tree1a588a9ca71e2bc873fcdcf889ea80c4813675a1 /py/compile.c
parent3410be803507cf8c85575def4bb894d03b64e9fd (diff)
downloadmicropython-13ed3a658d9a52c276aab94ea24c7cf78e876740.tar.gz
micropython-13ed3a658d9a52c276aab94ea24c7cf78e876740.zip
Native Python and Viper support for x64 and thumb all together.
Diffstat (limited to 'py/compile.c')
-rw-r--r--py/compile.c4
1 files changed, 2 insertions, 2 deletions
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;