Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index b14f66929c3ae4355ededebffbf9b4619f8b103c..3c5f6323e17a939ad8ace8783fa588d68a4ca3f5 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1511,8 +1511,8 @@ MaybeObject* CallStubCompiler::CompileArrayPushCall(Object* object, |
// the new element is non-Smi. For now, delegate to the builtin. |
Label no_fast_elements_check; |
__ JumpIfSmi(edi, &no_fast_elements_check); |
- __ mov(esi, FieldOperand(edx, HeapObject::kMapOffset)); |
- __ CheckFastObjectElements(esi, &call_builtin, Label::kFar); |
+ __ mov(ecx, FieldOperand(edx, HeapObject::kMapOffset)); |
+ __ CheckFastObjectElements(ecx, &call_builtin, Label::kFar); |
__ bind(&no_fast_elements_check); |
// We could be lucky and the elements array could be at the top of |