Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index bfec2916ea1f2c6a5cbce4c055c1e6741993f0cb..16b8ecfb6b22457f8d4349e66ac20bc03c058980 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.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); |