From ca2dd17dcb106c71aeb81d2edad010f4916ce8c5 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 4 Jul 2011 18:04:38 -0600 Subject: [PATCH] fix for `vector-{ref,set!}' on chaperone/impersonator on some platforms --- fixes a81917a2692; drop this commit if that one is dropped --- src/racket/src/jitcommon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/racket/src/jitcommon.c b/src/racket/src/jitcommon.c index 06b9b94486..472a5116b7 100644 --- a/src/racket/src/jitcommon.c +++ b/src/racket/src/jitcommon.c @@ -907,7 +907,9 @@ static int generate_apply_proxy(mz_jit_state *jitter, int setter) jit_stxi_p(WORDS_TO_BYTES(2), JIT_RUNSTACK, JIT_R0); CHECK_LIMIT(); JIT_UPDATE_THREAD_RSPTR(); + __END_SHORT_JUMPS__(1); scheme_generate_non_tail_call(jitter, 3, 0, 0, 0, 0, 0, 1); + __START_SHORT_JUMPS__(1); CHECK_LIMIT(); if (setter) { jit_addi_p(JIT_RUNSTACK, JIT_RUNSTACK, WORDS_TO_BYTES(4));