| Index: src/builtins/x87/builtins-x87.cc
|
| diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc
|
| index f75bfc5201d2ed06e73deb998ad5da5afd0cac3a..e4762d16ed51f6ef60d13f7a70e544582b006c38 100644
|
| --- a/src/builtins/x87/builtins-x87.cc
|
| +++ b/src/builtins/x87/builtins-x87.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);
|
| @@ -1938,8 +1938,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);
|
| }
|
| @@ -2101,8 +2101,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);
|
|
|