summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2022-12-02 11:37:02 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-02 12:53:51 -0800
commit606653e43a8207e15d6c3b450754d2a8bd349fc9 (patch)
tree30125f69c9eb5e9ae26585144fbc00c2043daea3 /yjit
parentbe40af284a03d09e0197daed1c26f098c92d7d2d (diff)
Update yjit/src/codegen.rs
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6767
Diffstat (limited to 'yjit')
-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));
},