Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 2d75d6b91555a22c0dc8d5e41324b3f259a82c19..f7225f01cd7ac4a7ff2b7bc5f9cd881e504aa7c1 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -394,10 +394,9 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) { |
__ bind(&to_string); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- ToStringStub stub(masm->isolate()); |
__ SmiTag(t0); |
__ EnterBuiltinFrame(cp, a1, t0); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToString(), RelocInfo::CODE_TARGET); |
__ LeaveBuiltinFrame(cp, a1, t0); |
__ SmiUntag(t0); |
} |
@@ -458,11 +457,10 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&convert); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- ToStringStub stub(masm->isolate()); |
__ SmiTag(t0); |
__ EnterBuiltinFrame(cp, a1, t0); |
__ Push(a3); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToString(), RelocInfo::CODE_TARGET); |
__ Move(a0, v0); |
__ Pop(a3); |
__ LeaveBuiltinFrame(cp, a1, t0); |