Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index f0e0d21b25b33d9312f6e57ad9c7e2b6a21aeff4..2586a6c081ba614d63bc0290aaf5e0c4b72edbea 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -341,11 +341,11 @@ void Builtins::Generate_NumberConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&new_object); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- FastNewObjectStub stub(masm->isolate()); |
__ SmiTag(t0); |
__ EnterBuiltinFrame(cp, a1, t0); |
__ Push(a0); // first argument |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(a0); |
__ LeaveBuiltinFrame(cp, a1, t0); |
__ SmiUntag(t0); |
@@ -492,11 +492,11 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&new_object); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- FastNewObjectStub stub(masm->isolate()); |
__ SmiTag(t0); |
__ EnterBuiltinFrame(cp, a1, t0); |
__ Push(a0); // first argument |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(a0); |
__ LeaveBuiltinFrame(cp, a1, t0); |
__ SmiUntag(t0); |
@@ -585,8 +585,8 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function, |
if (create_implicit_receiver) { |
// Allocate the new receiver object. |
__ Push(a1, a3); |
- FastNewObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ mov(t4, v0); |
__ Pop(a1, a3); |