File tree 1 file changed +2
-2
lines changed
runtime/vm/compiler/backend
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4198,14 +4198,14 @@ void UnboxInstr::EmitLoadInt32FromBoxOrSmi(FlowGraphCompiler* compiler) {
4198
4198
ASSERT (value == result);
4199
4199
__ SmiUntag (value);
4200
4200
__ j (NOT_CARRY, &done, compiler::Assembler::kNearJump );
4201
- __ movsxw (result, compiler::Address (value, TIMES_2, Mint::value_offset ()));
4201
+ __ movsxd (result, compiler::Address (value, TIMES_2, Mint::value_offset ()));
4202
4202
#else
4203
4203
ASSERT (value != result);
4204
4204
// Cannot speculatively untag with value == result because it erases the
4205
4205
// upper bits needed to dereference when it is a Mint.
4206
4206
__ SmiUntagAndSignExtend (result, value);
4207
4207
__ j (NOT_CARRY, &done, compiler::Assembler::kNearJump );
4208
- __ movsxw (result, compiler::FieldAddress (value, Mint::value_offset ()));
4208
+ __ movsxd (result, compiler::FieldAddress (value, Mint::value_offset ()));
4209
4209
#endif
4210
4210
__ Bind (&done);
4211
4211
}
You can’t perform that action at this time.
0 commit comments