From 8663ca2982081331ba6bc3140ffccd19b0e5d277 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 24 Nov 2008 02:03:01 -0600 Subject: [PATCH] Fix VM for PowerPC --- vm/quotations.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vm/quotations.c b/vm/quotations.c index 6524bf9d0b..44404c10f0 100755 --- a/vm/quotations.c +++ b/vm/quotations.c @@ -251,8 +251,8 @@ void jit_compile(CELL quot, bool relocate) if(stack_frame) EMIT(userenv[JIT_EPILOG],0); - jit_compile(array_nth(untag_object(array),i),true); - jit_compile(array_nth(untag_object(array),i + 1),true); + jit_compile(array_nth(untag_object(array),i),relocate); + jit_compile(array_nth(untag_object(array),i + 1),relocate); GROWABLE_ARRAY_ADD(literals,array_nth(untag_object(array),i)); EMIT(userenv[JIT_IF_1],literals_count - 1); @@ -266,7 +266,7 @@ void jit_compile(CELL quot, bool relocate) } else if(jit_fast_dip_p(untag_object(array),i)) { - jit_compile(obj,true); + jit_compile(obj,relocate); GROWABLE_ARRAY_ADD(literals,array_nth(untag_object(array),i)); EMIT(userenv[JIT_DIP],literals_count - 1); @@ -276,7 +276,7 @@ void jit_compile(CELL quot, bool relocate) } else if(jit_fast_2dip_p(untag_object(array),i)) { - jit_compile(obj,true); + jit_compile(obj,relocate); GROWABLE_ARRAY_ADD(literals,array_nth(untag_object(array),i)); EMIT(userenv[JIT_2DIP],literals_count - 1); @@ -286,7 +286,7 @@ void jit_compile(CELL quot, bool relocate) } else if(jit_fast_3dip_p(untag_object(array),i)) { - jit_compile(obj,true); + jit_compile(obj,relocate); GROWABLE_ARRAY_ADD(literals,array_nth(untag_object(array),i)); EMIT(userenv[JIT_3DIP],literals_count - 1);