Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 894747f24349242a8758687373a3a5ec5bec81fa..29475eb9ab23fd288767745a205a1eb7db72f926 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4962,7 +4962,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); |