| Index: runtime/vm/stub_code_arm.cc
|
| diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc
|
| index e4e32ce34fb0a25a5c37f4b25eb7c8a597b71808..538cd334a66fee268c7fa262e39523e2fae52e41 100644
|
| --- a/runtime/vm/stub_code_arm.cc
|
| +++ b/runtime/vm/stub_code_arm.cc
|
| @@ -2055,7 +2055,8 @@ void StubCode::EmitMegamorphicLookup(Assembler* assembler) {
|
| __ ldr(R1, FieldAddress(R9, MegamorphicCache::mask_offset()));
|
| // R2: cache buckets array.
|
| // R1: mask.
|
| - __ mov(R3, Operand(R0));
|
| + __ LoadImmediate(IP, MegamorphicCache::kSpreadFactor);
|
| + __ mul(R3, R0, IP);
|
| // R3: probe.
|
|
|
| Label loop, update, load_target_function;
|
|
|