Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 537ffcd129c40551e61b6c5f0f063d4586c7303e..9aa4e073f7fa54473e38ed6d6ab2b1a0d803ca8a 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.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. |