From a91ff1c603a6091cd6550081e8a24c26cc69b438 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 17 Nov 2009 18:33:27 +0000 Subject: [PATCH] fix thread-local fuel counters in JIT svn: r16835 --- src/mzscheme/src/jit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mzscheme/src/jit.c b/src/mzscheme/src/jit.c index 34381b6688..690f54ec4d 100644 --- a/src/mzscheme/src/jit.c +++ b/src/mzscheme/src/jit.c @@ -10234,13 +10234,15 @@ void scheme_jit_fill_threadlocal_table() { thread_local_pointers[tl_GC_gen0_alloc_page_ptr] = (&GC_gen0_alloc_page_ptr); thread_local_pointers[tl_retry_alloc_r1] = (&retry_alloc_r1); thread_local_pointers[tl_save_fp] = (&save_fp); -#else -# ifdef INLINE_FP_OPS +# else +# ifdef INLINE_FP_OPS thread_local_pointers[tl_double_result] = (&double_result); # endif # endif thread_local_pointers[tl_fixup_runstack_base] = (&fixup_runstack_base); thread_local_pointers[tl_fixup_already_in_place] = (&fixup_already_in_place); + thread_local_pointers[tl_scheme_fuel_counter] = (&scheme_fuel_counter); + thread_local_pointers[tl_scheme_jit_stack_boundary] = (&scheme_jit_stack_boundary); #endif }