diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-02-15 15:05:26 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2024-02-15 16:38:21 -0800 |
commit | bda4192e025df3ad9d67c8f6db8357fd9dd31f27 (patch) | |
tree | fbaa9ff44dd818b9096bacdfc23761f56aff725e /yjit | |
parent | cfe77db00d433d75848974cffe5b3b402a127799 (diff) | |
download | ruby-bda4192e025df3ad9d67c8f6db8357fd9dd31f27.tar.gz |
Remove duplicated spill_temps()
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/src/codegen.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 3a08f981b6..692496e907 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -2796,11 +2796,6 @@ fn gen_setinstancevariable( None => { let (new_shape_id, needs_extension, ivar_index) = new_shape.unwrap(); if let Some((current_capacity, new_capacity)) = needs_extension { - // We already spilled temps in the case the stack type is _not_ an immediate. - // If it is an immediate, but we need to expand the object, then spill temps - if stack_type.is_imm() { - asm.spill_temps(); // for ccall - } // Generate the C call so that runtime code will increase // the capacity and set the buffer. asm_comment!(asm, "call rb_ensure_iv_list_size"); |