Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index ea247b376397947b1a0f4e939678f1cf0ffe68c1..968dae5d9937bed082effcf61e7db91be1ba11f2 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -647,7 +647,7 @@ void KeyedCallIC::GenerateNormal(MacroAssembler* masm, int argc) { |
} |
-void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
+void LoadIC::GenerateMegamorphic(MacroAssembler* masm, ContextualMode mode) { |
// ----------- S t a t e ------------- |
// -- r2 : name |
// -- lr : return address |
@@ -655,8 +655,9 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) { |
// ----------------------------------- |
// Probe the stub cache. |
+ ExtraICState extra_ic_state = IC::ComputeExtraICState(mode); |
Code::Flags flags = Code::ComputeFlags( |
- Code::HANDLER, MONOMORPHIC, kNoExtraICState, |
+ Code::HANDLER, MONOMORPHIC, extra_ic_state, |
Code::NORMAL, Code::LOAD_IC); |
masm->isolate()->stub_cache()->GenerateProbe( |
masm, flags, r0, r2, r3, r4, r5, r6); |