Revision: 6840
Author: [email protected]
Date: Thu Feb 17 08:02:12 2011
Log: Avoid clobbering register containing name in CompilerStoreGlobal.

Review URL: http://codereview.chromium.org/6519052
http://code.google.com/p/v8/source/detail?r=6840

Modified:
 /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Mon Feb 14 13:21:33 2011 +++ /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Thu Feb 17 08:02:12 2011
@@ -2586,8 +2586,8 @@
   // 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

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to