| Index: runtime/vm/stub_code_x64.cc
|
| diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
|
| index 4e8f0e0ded608792f9bd521e8f4d5e61804e5ef2..d66c1254bc9868da34ed2e28aa75ca95f71e6096 100644
|
| --- a/runtime/vm/stub_code_x64.cc
|
| +++ b/runtime/vm/stub_code_x64.cc
|
| @@ -2092,6 +2092,7 @@ void StubCode::EmitMegamorphicLookup(Assembler* assembler) {
|
| // RDI: cache buckets array.
|
| // RBX: mask.
|
| __ movq(RCX, RAX);
|
| + __ imulq(RCX, Immediate(MegamorphicCache::kSpreadFactor));
|
|
|
| Label loop, update, load_target_function;
|
| __ jmp(&loop);
|
|
|