Index: src/x87/ic-x87.cc |
diff --git a/src/x87/ic-x87.cc b/src/x87/ic-x87.cc |
index 8bf3b65501ebe762411fb23416ef0265e798428b..5db259813f05855d37f1fc889c6f222558deaa71 100644 |
--- a/src/x87/ic-x87.cc |
+++ b/src/x87/ic-x87.cc |
@@ -893,7 +893,8 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
ASSERT(name.is(ecx)); |
// Probe the stub cache. |
- Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC); |
+ Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
+ Code::ComputeHandlerFlags(Code::LOAD_IC)); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, receiver, name, ebx, eax); |
@@ -1009,7 +1010,8 @@ void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
// Return address is on the stack. |
- Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC); |
+ Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
+ Code::ComputeHandlerFlags(Code::STORE_IC)); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, ReceiverRegister(), NameRegister(), |
ebx, no_reg); |