| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index bd91cd61e25122f6afd5f559b0e65c13fddf40ec..d977d39149f34b608b779ba9c846a01fe8c7c3c1 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -4829,7 +4829,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);
|
|
|