Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 5fbeb167667aae346cdc3673222e2ceac0943e44..8a50eeec9d195ae0e1d2c80130b1147cad8aaeaa 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -946,8 +946,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ CompareRoot(r2, Heap::kUndefinedValueRootIndex); |
__ beq(&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); |
@@ -2970,8 +2969,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
VisitForTypeofValue(expr->expression()); |
} |
__ LoadRR(r5, r2); |
- TypeofStub typeof_stub(isolate()); |
- __ CallStub(&typeof_stub); |
+ __ Call(isolate()->builtins()->Typeof(), RelocInfo::CODE_TARGET); |
context()->Plug(r2); |
break; |
} |
@@ -3335,8 +3333,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
VisitForAccumulatorValue(expr->right()); |
SetExpressionPosition(expr); |
PopOperand(r3); |
- InstanceOfStub stub(isolate()); |
- __ CallStub(&stub); |
+ __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(r2, Heap::kTrueValueRootIndex); |
Split(eq, if_true, if_false, fall_through); |