Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 2ce0d5e4fb925081381ec28637c1b79ee4d14c2e..7e4fd1f953cd8fc1c4d4870b0af46674cdd60325 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.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); |
@@ -1113,10 +1112,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(at, Heap::kTrueValueRootIndex); |
Split(eq, v0, Operand(at), if_true, if_false, fall_through); |