Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 1a55aa46644ecae095ac8f80c393380a540d33fa..de67d4a30f82ade8d1dceae01ef8ce2b0825e7ea 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -955,8 +955,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); |
@@ -1045,10 +1044,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, |
@@ -2946,8 +2944,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; |
} |
@@ -3317,8 +3314,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); |