Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 1fc04a4f6a1a7d4dcd9415fa4fc4c8b52e1cf97a..11bc8516a4901d464d9acea5af01da8f8a61ab2b 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -239,8 +239,8 @@ void Builtins::Generate_StringConstructCode(MacroAssembler* masm) { |
__ IncrementCounter(counters->string_ctor_conversions(), 1, a3, a4); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ push(a0); |
- __ InvokeBuiltin(Context::TO_STRING_BUILTIN_INDEX, CALL_FUNCTION); |
+ ToStringStub stub(masm->isolate()); |
+ __ CallStub(&stub); |
} |
__ pop(function); |
__ mov(argument, v0); |