Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index c788e94b367a7c30dbeaba085619de8a90b8cca7..e8b236ae773f77edeb6dee210cbbe8efeb5d98b5 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1016,8 +1016,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ CompareRoot(r0, Heap::kUndefinedValueRootIndex); |
__ b(eq, &exit); |
__ bind(&convert); |
- ToObjectStub stub(isolate()); |
- __ CallStub(&stub); |
+ __ Call(isolate()->builtins()->ToObject(), RelocInfo::CODE_TARGET); |
RestoreContext(); |
__ bind(&done_convert); |
PrepareForBailoutForId(stmt->ToObjectId(), BailoutState::TOS_REGISTER); |
@@ -1118,10 +1117,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ str(r2, FieldMemOperand(r3, FixedArray::OffsetOfElementAt(vector_index))); |
// r0 contains the key. The receiver in r1 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); |
__ CompareRoot(result_register(), Heap::kUndefinedValueRootIndex); |
@@ -3050,8 +3048,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
VisitForTypeofValue(expr->expression()); |
} |
__ mov(r3, r0); |
- TypeofStub typeof_stub(isolate()); |
- __ CallStub(&typeof_stub); |
+ __ Call(isolate()->builtins()->Typeof(), RelocInfo::CODE_TARGET); |
context()->Plug(r0); |
break; |
} |
@@ -3420,8 +3417,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
VisitForAccumulatorValue(expr->right()); |
SetExpressionPosition(expr); |
PopOperand(r1); |
- InstanceOfStub stub(isolate()); |
- __ CallStub(&stub); |
+ __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(r0, Heap::kTrueValueRootIndex); |
Split(eq, if_true, if_false, fall_through); |