Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 8adec6a51e08ccfe644737fe2671afe75c810cb3..89e304051abf6b426a7eff0505c5f68d1349271d 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -126,6 +126,7 @@ void Builtins::Generate_ArrayCode(MacroAssembler* masm) { |
// Run the native code for the Array function called as a normal function. |
__ LoadRoot(x2, Heap::kUndefinedValueRootIndex); |
+ __ Mov(x3, x1); |
ArrayConstructorStub stub(masm->isolate()); |
__ TailCallStub(&stub); |
} |