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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6305 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
fschneider@chromium.org 2011-01-14 09:45:30 +00:00
parent da03f275d2
commit 9b7525fa3e
2 changed files with 4 additions and 4 deletions

View File

@ -1189,9 +1189,9 @@ class LValueOf: public LUnaryOperation<1> {
};
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")
};

View File

@ -1189,9 +1189,9 @@ class LValueOf: public LUnaryOperation<1> {
};
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")
};