Revision: 6335
Author: [email protected]
Date: Fri Jan 14 08:10:00 2011
Log: Fix accidental change to ia32 in r6329.
Review URL: http://codereview.chromium.org/6362001
http://code.google.com/p/v8/source/detail?r=6335

Modified:
 /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Fri Jan 14 07:07:44 2011 +++ /branches/bleeding_edge/src/ia32/lithium-codegen-ia32.cc Fri Jan 14 08:10:00 2011
@@ -412,8 +412,8 @@


 Operand LCodeGen::ToOperand(LOperand* op) const {
-  ASSERT(!op->IsRegister());
-  ASSERT(!op->IsDoubleRegister());
+  if (op->IsRegister()) return Operand(ToRegister(op));
+  if (op->IsDoubleRegister()) return Operand(ToDoubleRegister(op));
   ASSERT(op->IsStackSlot() || op->IsDoubleStackSlot());
   int index = op->index();
   if (index >= 0) {

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

Reply via email to