Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 944ed3ccf6e3a1d8401f4f6045fefe54dd995d41..713dd145b89035d49246804642d67f17b1ea4254 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -5001,7 +5001,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); |