Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index fdb22acea056ba3ed4581ca34ec1e9032bf11041..fabc275d18cb4878f5bafe4ab69814fe85263021 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -2586,8 +2586,8 @@ MaybeObject* StoreStubCompiler::CompileStoreGlobal(GlobalObject* object, |
// Compute the cell operand to use. |
Operand cell_operand = Operand::Cell(Handle<JSGlobalPropertyCell>(cell)); |
if (Serializer::enabled()) { |
- __ mov(ecx, Immediate(Handle<JSGlobalPropertyCell>(cell))); |
- cell_operand = FieldOperand(ecx, JSGlobalPropertyCell::kValueOffset); |
+ __ mov(ebx, Immediate(Handle<JSGlobalPropertyCell>(cell))); |
+ cell_operand = FieldOperand(ebx, JSGlobalPropertyCell::kValueOffset); |
} |
// Check that the value in the cell is not the hole. If it is, this |