Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 4a7c68a53ca4db309ef6570819df88f3fa94aaa3..15f410c1345e8bbd4dc7db6a46494fa357763ed6 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -1330,7 +1330,7 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
// Probe the stub cache. |
Code::Flags flags = Code::ComputeFlags( |
- Code::STUB, MONOMORPHIC, Code::kNoExtraICState, |
+ Code::HANDLER, MONOMORPHIC, Code::kNoExtraICState, |
Code::NORMAL, Code::LOAD_IC); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, rax, rcx, rbx, rdx); |
@@ -1451,7 +1451,7 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm, |
// Get the receiver from the stack and probe the stub cache. |
Code::Flags flags = Code::ComputeFlags( |
- Code::STUB, MONOMORPHIC, strict_mode, |
+ Code::HANDLER, MONOMORPHIC, strict_mode, |
Code::NORMAL, Code::STORE_IC); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, rdx, rcx, rbx, no_reg); |