summaryrefslogtreecommitdiff
path: root/zjit
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2026-03-27 15:07:59 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2026-03-27 16:26:12 -0700
commit634707a7255f132eb486eaf57473925c288ef7bd (patch)
tree50bd7d3204c6bf5b28554ea27eadf81f483c5130 /zjit
parentee60b99b2f76a7c8810675a3634eae1935cc8261 (diff)
Rename CFP_HAS_JIT_RETURN to CFP_JIT_RETURN
Return the pointer directly instead of a bool, for consistency with CFP_ISEQ and CFP_PC. The pointer is truthy in if conditions so all callers work unchanged.
Diffstat (limited to 'zjit')
-rw-r--r--zjit/src/backend/lir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zjit/src/backend/lir.rs b/zjit/src/backend/lir.rs
index 1b44234df8..624fcd0389 100644
--- a/zjit/src/backend/lir.rs
+++ b/zjit/src/backend/lir.rs
@@ -2673,7 +2673,7 @@ impl Assembler
// Clear jit_return to fully materialize the frame. This must happen
// before any C call in the exit path (e.g. no_profile_send_recompile)
// because that C call can trigger GC, which walks the stack and would
- // hit the CFP_HAS_JIT_RETURN assertion if jit_return still holds the
+ // hit the CFP_JIT_RETURN assertion if jit_return still holds the
// runtime_checks poison value (JIT_RETURN_POISON).
asm_comment!(asm, "clear cfp->jit_return");
asm.store(Opnd::mem(64, CFP, RUBY_OFFSET_CFP_JIT_RETURN), 0.into());