Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 60a291acf5a27c070349ffcdb3bd532d206911b8..f43084b13f6bd6011a3d81a6970c1a8206ce35f9 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -1272,6 +1272,7 @@ void Builtins::Generate_ArrayCode(MacroAssembler* masm) { |
__ Check(equal, kUnexpectedInitialMapForArrayFunction); |
} |
+ __ movp(rdx, rdi); |
// Run the native code for the Array function called as a normal function. |
// tail call a stub |
__ LoadRoot(rbx, Heap::kUndefinedValueRootIndex); |