Index: src/ic/mips64/ic-mips64.cc |
diff --git a/src/ic/mips64/ic-mips64.cc b/src/ic/mips64/ic-mips64.cc |
index fd23f3283e2026a088f3612749384513fa8fe086..0095d14c52b3a0e64e06f328687e54c4e39f5bd9 100644 |
--- a/src/ic/mips64/ic-mips64.cc |
+++ b/src/ic/mips64/ic-mips64.cc |
@@ -248,24 +248,6 @@ static void GenerateKeyNameCheck(MacroAssembler* masm, Register key, |
} |
-void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
- // The return address is in lr. |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register name = LoadDescriptor::NameRegister(); |
- DCHECK(receiver.is(a1)); |
- DCHECK(name.is(a2)); |
- |
- // Probe the stub cache. |
- Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
- Code::ComputeHandlerFlags(Code::LOAD_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, a3, |
- a4, a5, a6); |
- |
- // Cache miss: Jump to runtime. |
- GenerateMiss(masm); |
-} |
- |
- |
void LoadIC::GenerateNormal(MacroAssembler* masm) { |
Register dictionary = a0; |
DCHECK(!dictionary.is(LoadDescriptor::ReceiverRegister())); |
@@ -975,8 +957,8 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
// Get the receiver from the stack and probe the stub cache. |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, a3, |
- a4, a5, a6); |
+ masm->isolate()->stub_cache()->GenerateProbe(masm, flags, false, receiver, |
+ name, a3, a4, a5, a6); |
// Cache miss: Jump to runtime. |
GenerateMiss(masm); |