Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index c76eca04d8ce80b7518a990692c4afbebca91b41..06105f30ae860053d8612063dcf8c9fb945a9973 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -982,9 +982,7 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm, |
// ----------------------------------- |
// Probe the stub cache. |
- Code::Flags flags = Code::ComputeFlags( |
- Code::HANDLER, MONOMORPHIC, extra_state, |
- Code::NORMAL, Code::LOAD_IC); |
+ Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC, extra_state); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, rax, rcx, rbx, rdx); |
@@ -1092,7 +1090,7 @@ void KeyedLoadIC::GenerateRuntimeGetProperty(MacroAssembler* masm) { |
void StoreIC::GenerateMegamorphic(MacroAssembler* masm, |
- ExtraICState extra_ic_state) { |
+ ExtraICState extra_state) { |
// ----------- S t a t e ------------- |
// -- rax : value |
// -- rcx : name |
@@ -1101,9 +1099,7 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm, |
// ----------------------------------- |
// Get the receiver from the stack and probe the stub cache. |
- Code::Flags flags = Code::ComputeFlags( |
- Code::HANDLER, MONOMORPHIC, extra_ic_state, |
- Code::NORMAL, Code::STORE_IC); |
+ Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC, extra_state); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, rdx, rcx, rbx, no_reg); |