Update yjit/src/codegen.rs

This commit is contained in:
Maxime Chevalier-Boisvert 2022-12-02 11:37:02 -05:00 committed by Takashi Kokubun
parent be40af284a
commit 606653e43a
Notes: git 2022-12-02 20:54:15 +00:00

View File

@ -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));
},