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:
parent
da03f275d2
commit
9b7525fa3e
@ -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")
|
||||
};
|
||||
|
@ -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")
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user