Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index 69b8c2fab10c1180cc940c8c0d3d2bef8fe9953f..938a2dff3f8389483d681825ab0fe146cca26c83 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -394,11 +394,8 @@ static void GenerateKeyedLoadWithNameKey(MacroAssembler* masm, Register key, |
__ LoadRoot(vector, Heap::kDummyVectorRootIndex); |
__ Mov(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, scratch1, |
- scratch2, scratch3, scratch4); |
+ masm->isolate()->load_stub_cache()->GenerateProbe( |
+ masm, receiver, key, scratch1, scratch2, scratch3, scratch4); |
// Cache miss. |
KeyedLoadIC::GenerateMiss(masm); |
@@ -672,10 +669,8 @@ void KeyedStoreIC::GenerateMegamorphic(MacroAssembler* masm, |
__ LoadRoot(vector, Heap::kDummyVectorRootIndex); |
__ Mov(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, x5, x6, x7, x8); |
+ masm->isolate()->store_stub_cache()->GenerateProbe(masm, receiver, key, x5, |
+ x6, x7, x8); |
// Cache miss. |
__ B(&miss); |