Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index ab7c8dfd2e1df392fdecd4999837dcf5ba9fedd6..4128a1c64f212a02203fec467584e47700300c71 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -2978,7 +2978,7 @@ void CallIC_ArrayStub::Generate(MacroAssembler* masm) { |
// r1 - function |
// r3 - slot id |
Label miss; |
- int argc = state_.arg_count(); |
+ int argc = arg_count(); |
ParameterCount actual(argc); |
EmitLoadTypeFeedbackVector(masm, r2); |
@@ -3020,7 +3020,7 @@ void CallICStub::Generate(MacroAssembler* masm) { |
Label extra_checks_or_miss, slow_start; |
Label slow, non_function, wrap, cont; |
Label have_js_function; |
- int argc = state_.arg_count(); |
+ int argc = arg_count(); |
ParameterCount actual(argc); |
EmitLoadTypeFeedbackVector(masm, r2); |
@@ -3032,7 +3032,7 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ b(ne, &extra_checks_or_miss); |
__ bind(&have_js_function); |
- if (state_.CallAsMethod()) { |
+ if (CallAsMethod()) { |
EmitContinueIfStrictOrNative(masm, &cont); |
// Compute the receiver in sloppy mode. |
__ ldr(r3, MemOperand(sp, argc * kPointerSize)); |
@@ -3049,7 +3049,7 @@ void CallICStub::Generate(MacroAssembler* masm) { |
__ bind(&slow); |
EmitSlowCase(masm, argc, &non_function); |
- if (state_.CallAsMethod()) { |
+ if (CallAsMethod()) { |
__ bind(&wrap); |
EmitWrapCase(masm, argc, &cont); |
} |
@@ -3093,7 +3093,7 @@ void CallICStub::Generate(MacroAssembler* masm) { |
void CallICStub::GenerateMiss(MacroAssembler* masm, IC::UtilityId id) { |
// Get the receiver of the function from the stack; 1 ~ return address. |
- __ ldr(r4, MemOperand(sp, (state_.arg_count() + 1) * kPointerSize)); |
+ __ ldr(r4, MemOperand(sp, (arg_count() + 1) * kPointerSize)); |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |