Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index d324a8c6b32c960b40e94d3ab037fe5f53b97941..314a07f4dc517e395f56b7b947e70a116fc62683 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -342,9 +342,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, r0, r2, r3, r4, r5, r6); |
@@ -1163,7 +1161,7 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
void StoreIC::GenerateMegamorphic(MacroAssembler* masm, |
- ExtraICState extra_ic_state) { |
+ ExtraICState extra_state) { |
// ----------- S t a t e ------------- |
// -- r0 : value |
// -- r1 : receiver |
@@ -1172,9 +1170,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, r1, r2, r3, r4, r5, r6); |