Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 6e20081ea0011b9eec9d75587867e98bd3153567..bf023c0674b8e54c032e92aab095ea48ad1a77d4 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -339,11 +339,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); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(a0); |
__ LeaveBuiltinFrame(cp, a1, t0); |
__ SmiUntag(t0); |
@@ -491,11 +491,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); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(a0); |
__ LeaveBuiltinFrame(cp, a1, t0); |
__ SmiUntag(t0); |
@@ -582,8 +582,8 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function, |
if (create_implicit_receiver) { |
__ Push(a1, a3); |
- FastNewObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ mov(t0, v0); |
__ Pop(a1, a3); |