Reviewers: Weiliang, dcarney,
Message:
WL.
PTAL.
thanks
Description:
X87: add stub for api function calls with known number of parameters
port 8c990d1716d33db4834b7e3c115874d482291e8c
original commit message:
add stub for api function calls with known number of parameters
BUG=
Please review this at https://codereview.chromium.org/852263004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/x87/code-stubs-x87.cc
Index: src/x87/code-stubs-x87.cc
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
index
fd97a144a48f2c36958989c2ef2f629dfd165270..96603e0aae923dda8b92ae538204d20844225521
100644
--- a/src/x87/code-stubs-x87.cc
+++ b/src/x87/code-stubs-x87.cc
@@ -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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.