| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index d177c71d1f01ca635d8127f9cf07cde613609ed8..2f2d20336ae3346e0200f71158be55625349fe13 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -1012,8 +1012,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| __ LoadRoot(at, Heap::kUndefinedValueRootIndex); // In delay slot.
|
| __ Branch(&exit, eq, a0, Operand(at));
|
| __ bind(&convert);
|
| - ToObjectStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->ToObject(), RelocInfo::CODE_TARGET);
|
| RestoreContext();
|
| __ mov(a0, v0);
|
| __ bind(&done_convert);
|
| @@ -1114,10 +1113,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
|
|
| __ mov(a0, result_register());
|
| // a0 contains the key. The receiver in a1 is the second argument to the
|
| - // ForInFilterStub. ForInFilter returns undefined if the receiver doesn't
|
| + // ForInFilter. ForInFilter returns undefined if the receiver doesn't
|
| // have the key or returns the name-converted key.
|
| - ForInFilterStub filter_stub(isolate());
|
| - __ CallStub(&filter_stub);
|
| + __ Call(isolate()->builtins()->ForInFilter(), RelocInfo::CODE_TARGET);
|
| RestoreContext();
|
| PrepareForBailoutForId(stmt->FilterId(), BailoutState::TOS_REGISTER);
|
| __ LoadRoot(at, Heap::kUndefinedValueRootIndex);
|
| @@ -3057,8 +3055,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| VisitForTypeofValue(expr->expression());
|
| }
|
| __ mov(a3, v0);
|
| - TypeofStub typeof_stub(isolate());
|
| - __ CallStub(&typeof_stub);
|
| + __ Call(isolate()->builtins()->Typeof(), RelocInfo::CODE_TARGET);
|
| context()->Plug(v0);
|
| break;
|
| }
|
| @@ -3427,8 +3424,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
|
| SetExpressionPosition(expr);
|
| __ mov(a0, result_register());
|
| PopOperand(a1);
|
| - InstanceOfStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET);
|
| PrepareForBailoutBeforeSplit(expr, false, NULL, NULL);
|
| __ LoadRoot(a4, Heap::kTrueValueRootIndex);
|
| Split(eq, v0, Operand(a4), if_true, if_false, fall_through);
|
|
|