Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index 23ad6de0639ec56cac29463f479500593258e3d0..4ae0be2e603f133b3e3fd559830b32c5976496a3 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -283,7 +283,8 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
ASSERT(name.is(a2)); |
// 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, a3, t0, t1, t2); |
@@ -1105,7 +1106,8 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
ASSERT(ValueRegister().is(a0)); |
// Get the receiver from the stack and probe the stub cache. |
- 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, receiver, name, a3, t0, t1, t2); |