Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 401723f523976bc2893f6db436bdf64da197d745..0f23ec1ebb48ba13c78d7dcc992f6d0acdc012ed 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -135,8 +135,8 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function, |
// Allocate the new receiver object. |
__ Push(edi); |
__ Push(edx); |
- FastNewObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ mov(ebx, eax); |
__ Pop(edx); |
__ Pop(edi); |
@@ -1921,8 +1921,8 @@ void Builtins::Generate_NumberConstructor_ConstructStub(MacroAssembler* masm) { |
FrameScope scope(masm, StackFrame::MANUAL); |
__ EnterBuiltinFrame(esi, edi, ecx); |
__ Push(ebx); // the first argument |
- FastNewObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(FieldOperand(eax, JSValue::kValueOffset)); |
__ LeaveBuiltinFrame(esi, edi, ecx); |
} |
@@ -2084,8 +2084,8 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ SmiTag(ebx); |
__ EnterBuiltinFrame(esi, edi, ebx); |
__ Push(eax); // the first argument |
- FastNewObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(FieldOperand(eax, JSValue::kValueOffset)); |
__ LeaveBuiltinFrame(esi, edi, ebx); |
__ SmiUntag(ebx); |