Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 62585af109ae93392ef7d334029818694c7bd99c..61696ce1a249857008c0d168a3ce530da8b54188 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -910,7 +910,8 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
ASSERT(name.is(rcx)); |
// 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, rbx, rax); |
@@ -1041,7 +1042,8 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
// The return address is on the stack. |
// 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, ReceiverRegister(), NameRegister(), rbx, no_reg); |