Index: src/ic/x87/ic-x87.cc |
diff --git a/src/ic/x87/ic-x87.cc b/src/ic/x87/ic-x87.cc |
index 1e3200fb8c640141d7da20e8dae389ec91ae4e5c..7a798d794a94f20315c18656378c942595cf0b92 100644 |
--- a/src/ic/x87/ic-x87.cc |
+++ b/src/ic/x87/ic-x87.cc |
@@ -825,24 +825,6 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
} |
-void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
- // The return address is on the stack. |
- Register receiver = LoadDescriptor::ReceiverRegister(); |
- Register name = LoadDescriptor::NameRegister(); |
- DCHECK(receiver.is(edx)); |
- DCHECK(name.is(ecx)); |
- |
- // Probe the stub cache. |
- Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
- Code::ComputeHandlerFlags(Code::LOAD_IC)); |
- masm->isolate()->stub_cache()->GenerateProbe(masm, flags, receiver, name, ebx, |
- eax); |
- |
- // Cache miss: Jump to runtime. |
- GenerateMiss(masm); |
-} |
- |
- |
void LoadIC::GenerateNormal(MacroAssembler* masm) { |
Register dictionary = eax; |
DCHECK(!dictionary.is(LoadDescriptor::ReceiverRegister())); |
@@ -923,7 +905,7 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
masm->isolate()->stub_cache()->GenerateProbe( |
- masm, flags, StoreDescriptor::ReceiverRegister(), |
+ masm, flags, false, StoreDescriptor::ReceiverRegister(), |
StoreDescriptor::NameRegister(), ebx, no_reg); |
// Cache miss: Jump to runtime. |