| Index: src/ic/mips64/ic-mips64.cc
|
| diff --git a/src/ic/mips64/ic-mips64.cc b/src/ic/mips64/ic-mips64.cc
|
| index 81f1f922afc8a370c1c2f87a3dfbd784601efdc9..42a3da1269b074884652a840fe8cc481f42ec83d 100644
|
| --- a/src/ic/mips64/ic-mips64.cc
|
| +++ b/src/ic/mips64/ic-mips64.cc
|
| @@ -418,10 +418,8 @@ void KeyedLoadIC::GenerateMegamorphic(MacroAssembler* masm) {
|
| __ LoadRoot(vector, Heap::kDummyVectorRootIndex);
|
| __ li(slot, Operand(Smi::FromInt(slot_index)));
|
|
|
| - Code::Flags flags =
|
| - Code::RemoveHolderFromFlags(Code::ComputeHandlerFlags(Code::LOAD_IC));
|
| - masm->isolate()->stub_cache()->GenerateProbe(masm, Code::KEYED_LOAD_IC, flags,
|
| - receiver, key, a4, a5, a6, t1);
|
| + masm->isolate()->load_stub_cache()->GenerateProbe(masm, receiver, key, a4, a5,
|
| + a6, t1);
|
| // Cache miss.
|
| GenerateMiss(masm);
|
|
|
| @@ -666,10 +664,8 @@ void KeyedStoreIC::GenerateMegamorphic(MacroAssembler* masm,
|
| __ LoadRoot(vector, Heap::kDummyVectorRootIndex);
|
| __ li(slot, Operand(Smi::FromInt(slot_index)));
|
|
|
| - Code::Flags flags =
|
| - Code::RemoveHolderFromFlags(Code::ComputeHandlerFlags(Code::STORE_IC));
|
| - masm->isolate()->stub_cache()->GenerateProbe(
|
| - masm, Code::KEYED_STORE_IC, flags, receiver, key, a5, a6, a7, t0);
|
| + masm->isolate()->store_stub_cache()->GenerateProbe(masm, receiver, key, a5,
|
| + a6, a7, t0);
|
| // Cache miss.
|
| __ Branch(&miss);
|
|
|
|
|