Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 3c51f501c73961a75c9269f6b3f4eefb29ed21ce..dc867815b0de534c3900c7574d0ed72b0a1f83a6 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -228,8 +228,8 @@ void Builtins::Generate_StringConstructCode(MacroAssembler* masm) { |
__ IncrementCounter(counters->string_ctor_conversions(), 1, x10, x11); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ Push(arg); |
- __ InvokeBuiltin(Context::TO_STRING_BUILTIN_INDEX, CALL_FUNCTION); |
+ ToStringStub stub(masm->isolate()); |
+ __ CallStub(&stub); |
} |
__ Pop(function); |
__ Mov(argument, x0); |