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
parent da03f275
...@@ -1189,9 +1189,9 @@ class LValueOf: public LUnaryOperation<1> { ...@@ -1189,9 +1189,9 @@ class LValueOf: public LUnaryOperation<1> {
}; };
class LThrow: public LUnaryOperation<1> { class LThrow: public LUnaryOperation<0> {
public: public:
explicit LThrow(LOperand* value) : LUnaryOperation<1>(value) { } explicit LThrow(LOperand* value) : LUnaryOperation<0>(value) { }
DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
}; };
......
...@@ -1189,9 +1189,9 @@ class LValueOf: public LUnaryOperation<1> { ...@@ -1189,9 +1189,9 @@ class LValueOf: public LUnaryOperation<1> {
}; };
class LThrow: public LUnaryOperation<1> { class LThrow: public LUnaryOperation<0> {
public: public:
explicit LThrow(LOperand* value) : LUnaryOperation<1>(value) { } explicit LThrow(LOperand* value) : LUnaryOperation<0>(value) { }
DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") DECLARE_CONCRETE_INSTRUCTION(Throw, "throw")
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment