Index: src/ic/s390/ic-s390.cc |
diff --git a/src/ic/s390/ic-s390.cc b/src/ic/s390/ic-s390.cc |
index 64adc9fd96e9380d4a143fb4275ed685241ad88d..825499502fea7eda6013e41ba2742d6714b63b8b 100644 |
--- a/src/ic/s390/ic-s390.cc |
+++ b/src/ic/s390/ic-s390.cc |
@@ -412,10 +412,8 @@ void KeyedLoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
__ LoadRoot(vector, Heap::kDummyVectorRootIndex); |
__ LoadSmiLiteral(slot, 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, r6, r7, r8, r9); |
+ masm->isolate()->load_stub_cache()->GenerateProbe(masm, receiver, key, r6, r7, |
+ r8, r9); |
// Cache miss. |
GenerateMiss(masm); |
@@ -670,10 +668,8 @@ void KeyedStoreIC::GenerateMegamorphic(MacroAssembler* masm, |
__ LoadRoot(vector, Heap::kDummyVectorRootIndex); |
__ LoadSmiLiteral(slot, 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, r7, r8, r9, ip); |
+ masm->isolate()->store_stub_cache()->GenerateProbe(masm, receiver, key, r7, |
+ r8, r9, ip); |
// Cache miss. |
__ b(&miss); |