Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index 0a80998047c85e56b9534ef9f068b8b04cf8bdc5..9fda5a71888e6438dcd0121db006c708080e7bc9 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -1192,6 +1192,7 @@ void Builtins::Generate_ArrayCode(MacroAssembler* masm) { |
// Get the Array function. |
__ LoadGlobalFunction(Context::ARRAY_FUNCTION_INDEX, edi); |
+ __ mov(edx, edi); |
if (FLAG_debug_code) { |
// Initial map for the builtin Array function should be a map. |