port
8c990d1716d33db4834b7e3c115874d482291e8c
original commit message:
add stub for api function calls with known number of parameters
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
852263004
Cr-Commit-Position: refs/heads/master@{#26148}
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);