From cdc07236a4e79fe0d5473cf984d0ffb3f98b89d7 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 15 Feb 2024 15:05:42 -0800 Subject: Update a comment on spill_temps() --- yjit/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 692496e907..41854b4c58 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -2841,7 +2841,7 @@ fn gen_setinstancevariable( // If we know the stack value is an immediate, there's no need to // generate WB code. if !stack_type.is_imm() { - asm.spill_temps(); // for ccall + asm.spill_temps(); // for ccall (unconditionally spill them for RegTemps consistency) let skip_wb = asm.new_label("skip_wb"); // If the value we're writing is an immediate, we don't need to WB asm.test(write_val, (RUBY_IMMEDIATE_MASK as u64).into()); -- cgit v1.2.3