| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index 264f288f8837f83e2342f6f6151cd33d4ea0afdc..317468fc8e63c276929db93e363ff7cc9ce9c4dc 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -947,8 +947,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| __ cmp(eax, isolate()->factory()->null_value());
|
| __ j(equal, &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);
|
| @@ -1037,10 +1036,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
|
| Immediate(TypeFeedbackVector::MegamorphicSentinel(isolate())));
|
|
|
| // eax contains the key. The receiver in ebx 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);
|
| __ JumpIfRoot(result_register(), Heap::kUndefinedValueRootIndex,
|
| @@ -2938,8 +2936,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| VisitForTypeofValue(expr->expression());
|
| }
|
| __ mov(ebx, eax);
|
| - TypeofStub typeof_stub(isolate());
|
| - __ CallStub(&typeof_stub);
|
| + __ Call(isolate()->builtins()->Typeof(), RelocInfo::CODE_TARGET);
|
| context()->Plug(eax);
|
| break;
|
| }
|
| @@ -3309,8 +3306,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
|
| VisitForAccumulatorValue(expr->right());
|
| SetExpressionPosition(expr);
|
| PopOperand(edx);
|
| - InstanceOfStub stub(isolate());
|
| - __ CallStub(&stub);
|
| + __ Call(isolate()->builtins()->InstanceOf(), RelocInfo::CODE_TARGET);
|
| PrepareForBailoutBeforeSplit(expr, false, NULL, NULL);
|
| __ cmp(eax, isolate()->factory()->true_value());
|
| Split(equal, if_true, if_false, fall_through);
|
|
|