summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yjit/src/codegen.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 3bd364daf2..14ce15a54e 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -2339,7 +2339,6 @@ fn gen_setinstancevariable(
let shape_opnd = Opnd::mem(shape_bit_size, recv, RUBY_OFFSET_RBASIC_FLAGS + (8 - shape_byte_size as i32));
// Store the new shape
- asm.store(shape_opnd, Opnd::UImm(0 as u64));
asm.store(shape_opnd, Opnd::UImm(new_shape_id as u64));
},