From 948a709b47c1e41b079cbde8d80bee1f7ee483b2 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 30 May 2014 12:07:56 +0100 Subject: [PATCH] clarify comment in JIT implementation Refines commmit c0ec9702e8. --- racket/src/racket/src/jitstate.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/racket/src/racket/src/jitstate.c b/racket/src/racket/src/jitstate.c index 58f55e3947..fb71413187 100644 --- a/racket/src/racket/src/jitstate.c +++ b/racket/src/racket/src/jitstate.c @@ -165,9 +165,11 @@ static int check_long_mode(uintptr_t low, uintptr_t size) int scheme_check_long_mode(int jitter_long_jumps_default) { - /* Relying on TSO: if another place provides a shared code pointer, then - seeing that pointer means that this place also sees any change - to `default-long_jumps` that applies to the pointer. */ + /* In places are enabled, then we're relying on TSO here. If another + place provides a shared code pointer, then seeing that pointer + means that this place also sees any change to + `default_long_jumps` that was made before the pointer was + shared. */ return (jitter_long_jumps_default != default_long_jumps); } #endif