Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index 9ea622e9a3dcd57597f102dd3de0a10189009621..1f4647cbd7920f91b10649ccc211e73908590436 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -331,24 +331,6 @@ static MemOperand GenerateUnmappedArgumentsLookup(MacroAssembler* masm, |
} |
-void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
- // The return address is in lr. |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register name = LoadDescriptor::NameRegister(); |
- DCHECK(receiver.is(x1)); |
- DCHECK(name.is(x2)); |
- |
- // Probe the stub cache. |
- Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
- Code::ComputeHandlerFlags(Code::LOAD_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, x3, |
- x4, x5, x6); |
- |
- // Cache miss: Jump to runtime. |
- GenerateMiss(masm); |
-} |
- |
- |
void LoadIC::GenerateNormal(MacroAssembler* masm) { |
Register dictionary = x0; |
DCHECK(!dictionary.is(LoadDescriptor::ReceiverRegister())); |
@@ -994,8 +976,8 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
// Probe the stub cache. |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, x3, |
- x4, x5, x6); |
+ masm->isolate()->stub_cache()->GenerateProbe(masm, flags, false, receiver, |
+ name, x3, x4, x5, x6); |
// Cache miss: Jump to runtime. |
GenerateMiss(masm); |