Index: src/mips64/ic-mips64.cc |
diff --git a/src/mips64/ic-mips64.cc b/src/mips64/ic-mips64.cc |
index 17241d66f76718c340dd5895aeb9a20afe7719aa..49d9c4a598d8c4c2105f6ec2e1ccee31b08686c7 100644 |
--- a/src/mips64/ic-mips64.cc |
+++ b/src/mips64/ic-mips64.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, a4, a5, a6); |
@@ -1114,7 +1115,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, a4, a5, a6); |