diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-02-15 15:05:42 -0800 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2024-02-15 16:38:21 -0800 |
| commit | cdc07236a4e79fe0d5473cf984d0ffb3f98b89d7 (patch) | |
| tree | 5664929b85ff25791e5b6531e01e917cc706c8a2 | |
| parent | bda4192e025df3ad9d67c8f6db8357fd9dd31f27 (diff) | |
Update a comment on spill_temps()
| -rw-r--r-- | yjit/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |
