| Index: runtime/vm/stub_code_mips.cc
|
| diff --git a/runtime/vm/stub_code_mips.cc b/runtime/vm/stub_code_mips.cc
|
| index ce5db807e8970f74a9e6619b12fcf01f48b07364..27aa782b84fd4de5b6f61554751bc38eacbdc7e5 100644
|
| --- a/runtime/vm/stub_code_mips.cc
|
| +++ b/runtime/vm/stub_code_mips.cc
|
| @@ -2220,7 +2220,9 @@ void StubCode::EmitMegamorphicLookup(Assembler* assembler) {
|
| __ lw(T1, FieldAddress(S5, MegamorphicCache::mask_offset()));
|
| // T2: cache buckets array.
|
| // T1: mask.
|
| - __ mov(T3, T0);
|
| + __ LoadImmediate(TMP, MegamorphicCache::kSpreadFactor);
|
| + __ mult(TMP, T0);
|
| + __ mflo(T3);
|
| // T3: probe.
|
|
|
| Label loop, update, call_target_function;
|
|
|