Revision: 6305
Author: [email protected]
Date: Fri Jan 14 01:45:30 2011
Log: Fix number of result operands for LThrow.

This instruction does not produce a result. We don't need a result
LOperand for it.

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

Modified:
 /branches/bleeding_edge/src/ia32/lithium-ia32.h
 /branches/bleeding_edge/src/x64/lithium-x64.h

=======================================
--- /branches/bleeding_edge/src/ia32/lithium-ia32.h     Wed Jan 12 16:34:08 2011
+++ /branches/bleeding_edge/src/ia32/lithium-ia32.h     Fri Jan 14 01:45:30 2011
@@ -1189,9 +1189,9 @@
 };


-class LThrow: public LUnaryOperation<1> {
+class LThrow: public LUnaryOperation<0> {
  public:
-  explicit LThrow(LOperand* value) : LUnaryOperation<1>(value) { }
+  explicit LThrow(LOperand* value) : LUnaryOperation<0>(value) { }

   DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
 };
=======================================
--- /branches/bleeding_edge/src/x64/lithium-x64.h       Thu Jan 13 02:04:02 2011
+++ /branches/bleeding_edge/src/x64/lithium-x64.h       Fri Jan 14 01:45:30 2011
@@ -1189,9 +1189,9 @@
 };


-class LThrow: public LUnaryOperation<1> {
+class LThrow: public LUnaryOperation<0> {
  public:
-  explicit LThrow(LOperand* value) : LUnaryOperation<1>(value) { }
+  explicit LThrow(LOperand* value) : LUnaryOperation<0>(value) { }

   DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
 };

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

Reply via email to