Chromium Code Reviews| 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..f8b3685127fbc3100f65a49e64ea0da206e02722 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()); |
|
mvstanton
2016/12/29 10:19:00
A small thing: but CodeFactory::FastNewObject(isol
|
| - __ CallStub(&stub); |
| + __ Call(masm->isolate()->builtins()->FastNewObject(), |
| + 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(masm->isolate()->builtins()->FastNewObject(), |
| + 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(masm->isolate()->builtins()->FastNewObject(), |
| + RelocInfo::CODE_TARGET); |
| __ Pop(FieldOperand(eax, JSValue::kValueOffset)); |
| __ LeaveBuiltinFrame(esi, edi, ebx); |
| __ SmiUntag(ebx); |