| Index: src/full-codegen/ppc/full-codegen-ppc.cc
|
| diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| index 604efc974c0d48c83308ab5183be549aa416f88e..68f85035150cdb6c049e55d48244534fd5c22438 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -976,8 +976,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| __ CompareRoot(r3, 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);
|
| @@ -3048,8 +3047,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| VisitForTypeofValue(expr->expression());
|
| }
|
| __ mr(r6, r3);
|
| - TypeofStub typeof_stub(isolate());
|
| - __ CallStub(&typeof_stub);
|
| + __ Call(isolate()->builtins()->Typeof(), RelocInfo::CODE_TARGET);
|
| context()->Plug(r3);
|
| break;
|
| }
|
| @@ -3419,8 +3417,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
|
| VisitForAccumulatorValue(expr->right());
|
| SetExpressionPosition(expr);
|
| PopOperand(r4);
|
| - InstanceOfStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET);
|
| PrepareForBailoutBeforeSplit(expr, false, NULL, NULL);
|
| __ CompareRoot(r3, Heap::kTrueValueRootIndex);
|
| Split(eq, if_true, if_false, fall_through);
|
|
|