Revision: 23419
Author: [email protected]
Date: Tue Aug 26 17:43:13 2014 UTC
Log: MIPS: Minor-key-ify CallICStub and CallIC_ArrayStub.
Port r23403 (553b376)
BUG=
[email protected]
Review URL: https://codereview.chromium.org/503373002
https://code.google.com/p/v8/source/detail?r=23419
Modified:
/branches/bleeding_edge/src/mips/code-stubs-mips.cc
/branches/bleeding_edge/src/mips64/code-stubs-mips64.cc
=======================================
--- /branches/bleeding_edge/src/mips/code-stubs-mips.cc Tue Aug 26 17:38:41
2014 UTC
+++ /branches/bleeding_edge/src/mips/code-stubs-mips.cc Tue Aug 26 17:43:13
2014 UTC
@@ -3141,7 +3141,7 @@
Label extra_checks_or_miss, slow_start;
Label slow, non_function, wrap, cont;
Label have_js_function;
- int argc = state_.arg_count();
+ int argc = arg_count();
ParameterCount actual(argc);
EmitLoadTypeFeedbackVector(masm, a2);
@@ -3153,7 +3153,7 @@
__ Branch(&extra_checks_or_miss, ne, a1, Operand(t0));
__ bind(&have_js_function);
- if (state_.CallAsMethod()) {
+ if (CallAsMethod()) {
EmitContinueIfStrictOrNative(masm, &cont);
// Compute the receiver in sloppy mode.
__ lw(a3, MemOperand(sp, argc * kPointerSize));
@@ -3170,7 +3170,7 @@
__ bind(&slow);
EmitSlowCase(masm, argc, &non_function);
- if (state_.CallAsMethod()) {
+ if (CallAsMethod()) {
__ bind(&wrap);
EmitWrapCase(masm, argc, &cont);
}
@@ -3215,7 +3215,7 @@
void CallICStub::GenerateMiss(MacroAssembler* masm, IC::UtilityId id) {
// Get the receiver of the function from the stack; 1 ~ return address.
- __ lw(t0, MemOperand(sp, (state_.arg_count() + 1) * kPointerSize));
+ __ lw(t0, MemOperand(sp, (arg_count() + 1) * kPointerSize));
{
FrameScope scope(masm, StackFrame::INTERNAL);
=======================================
--- /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Tue Aug 26
17:38:41 2014 UTC
+++ /branches/bleeding_edge/src/mips64/code-stubs-mips64.cc Tue Aug 26
17:43:13 2014 UTC
@@ -3202,9 +3202,9 @@
// The slow case, we need this no matter what to complete a call after a
miss.
CallFunctionNoFeedback(masm,
- arg_count(),
- true,
- CallAsMethod());
+ arg_count(),
+ true,
+ CallAsMethod());
// Unreachable.
__ stop("Unexpected code address");
@@ -3217,7 +3217,7 @@
Label extra_checks_or_miss, slow_start;
Label slow, non_function, wrap, cont;
Label have_js_function;
- int argc = state_.arg_count();
+ int argc = arg_count();
ParameterCount actual(argc);
EmitLoadTypeFeedbackVector(masm, a2);
@@ -3229,7 +3229,7 @@
__ Branch(&extra_checks_or_miss, ne, a1, Operand(a4));
__ bind(&have_js_function);
- if (state_.CallAsMethod()) {
+ if (CallAsMethod()) {
EmitContinueIfStrictOrNative(masm, &cont);
// Compute the receiver in sloppy mode.
__ ld(a3, MemOperand(sp, argc * kPointerSize));
@@ -3246,7 +3246,7 @@
__ bind(&slow);
EmitSlowCase(masm, argc, &non_function);
- if (state_.CallAsMethod()) {
+ if (CallAsMethod()) {
__ bind(&wrap);
EmitWrapCase(masm, argc, &cont);
}
@@ -3291,7 +3291,7 @@
void CallICStub::GenerateMiss(MacroAssembler* masm, IC::UtilityId id) {
// Get the receiver of the function from the stack; 1 ~ return address.
- __ ld(a4, MemOperand(sp, (state_.arg_count() + 1) * kPointerSize));
+ __ ld(a4, MemOperand(sp, (arg_count() + 1) * kPointerSize));
{
FrameScope scope(masm, StackFrame::INTERNAL);
--
--
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.