Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index a6af8f3a47d4efd41ff50e7b55397c0c5bd6a6a6..c923d4861c508fdb42a21db629bde95cfcdefa75 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4748,7 +4748,7 @@ void CallApiFunctionStub::Generate(MacroAssembler* masm) { |
void CallApiAccessorStub::Generate(MacroAssembler* masm) { |
bool is_store = this->is_store(); |
- int argc = is_store ? 1 : 0; |
+ int argc = this->argc(); |
bool call_data_undefined = this->call_data_undefined(); |
CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, |
call_data_undefined); |