| Index: src/x64/ic-x64.cc
|
| diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc
|
| index 02302a9dd32e394f2599e89e51ea65a31b08ab8a..15423e47b69aaa5e48f35ee867634c58af31e638 100644
|
| --- a/src/x64/ic-x64.cc
|
| +++ b/src/x64/ic-x64.cc
|
| @@ -1321,9 +1321,10 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
|
| // -----------------------------------
|
|
|
| // Probe the stub cache.
|
| - Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC, MONOMORPHIC);
|
| - Isolate::Current()->stub_cache()->GenerateProbe(masm, flags, rax, rcx, rbx,
|
| - rdx);
|
| + Code::Flags flags = Code::ComputeFlags(
|
| + Code::LOAD_IC, MONOMORPHIC, Code::HANDLER_FRAGMENT);
|
| + Isolate::Current()->stub_cache()->GenerateProbe(
|
| + masm, flags, rax, rcx, rbx, rdx);
|
|
|
| // Cache miss: Jump to runtime.
|
| StubCompiler::GenerateLoadMiss(masm, Code::LOAD_IC);
|
|
|