Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index fa450d75e2566c03423ca38db54b4f1cbab81f59..86ad0cfd1ae46c8c9bf3836fc6a548c1e6d4a5d7 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -5175,7 +5175,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); |