| Index: runtime/vm/stub_code_ia32.cc
|
| diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc
|
| index 772e39b0a5b2918a734789e0288c910194e7c9b8..836e4b5281cf8736e5d51786656c7f18d8719e64 100644
|
| --- a/runtime/vm/stub_code_ia32.cc
|
| +++ b/runtime/vm/stub_code_ia32.cc
|
| @@ -2029,6 +2029,7 @@ void StubCode::EmitMegamorphicLookup(Assembler* assembler) {
|
| // EBX: mask.
|
| __ pushl(ECX); // Spill MegamorphicCache.
|
| __ movl(ECX, EAX);
|
| + __ imull(ECX, Immediate(MegamorphicCache::kSpreadFactor));
|
| // ECX: probe.
|
|
|
| Label loop, update, load_target_function;
|
|
|