Index: src/ic/arm/ic-arm.cc |
diff --git a/src/ic/arm/ic-arm.cc b/src/ic/arm/ic-arm.cc |
index 76135ef56a38ef6230f30f601db866b80fa616e1..a340580fca450c1df27390fb0e1200d84cde2dba 100644 |
--- a/src/ic/arm/ic-arm.cc |
+++ b/src/ic/arm/ic-arm.cc |
@@ -242,24 +242,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(r1)); |
- DCHECK(name.is(r2)); |
- |
- // Probe the stub cache. |
- Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
- Code::ComputeHandlerFlags(Code::LOAD_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, r3, |
- r4, r5, r6); |
- |
- // Cache miss: Jump to runtime. |
- GenerateMiss(masm); |
-} |
- |
- |
void LoadIC::GenerateNormal(MacroAssembler* masm) { |
Register dictionary = r0; |
DCHECK(!dictionary.is(LoadDescriptor::ReceiverRegister())); |
@@ -963,8 +945,8 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, r3, |
- r4, r5, r6); |
+ masm->isolate()->stub_cache()->GenerateProbe(masm, flags, false, receiver, |
+ name, r3, r4, r5, r6); |
// Cache miss: Jump to runtime. |
GenerateMiss(masm); |