Commit 76d62e83 authored by cdai2's avatar cdai2

X87: add stub for api function calls with known number of parameters

port 8c990d17

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}
parent cf874fdd
......@@ -4489,7 +4489,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment