| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 5b0a38d79c6816b2276ba3dc13404c0b93801b30..e5b01c1ba85d2c910121c2cd46c43c6a5781bfe6 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -228,8 +228,7 @@ void Verifier::Visitor::Check(Node* node) {
|
| // Type is empty.
|
| CheckNotTyped(node);
|
| break;
|
| - case IrOpcode::kIfSuccess:
|
| - case IrOpcode::kIfException: {
|
| + case IrOpcode::kIfSuccess: {
|
| // IfSuccess and IfException continuation only on throwing nodes.
|
| Node* input = NodeProperties::GetControlInput(node, 0);
|
| CHECK(!input->op()->HasProperty(Operator::kNoThrow));
|
| @@ -237,6 +236,14 @@ void Verifier::Visitor::Check(Node* node) {
|
| CheckNotTyped(node);
|
| break;
|
| }
|
| + case IrOpcode::kIfException: {
|
| + // IfSuccess and IfException continuation only on throwing nodes.
|
| + Node* input = NodeProperties::GetControlInput(node, 0);
|
| + CHECK(!input->op()->HasProperty(Operator::kNoThrow));
|
| + // Type can be anything.
|
| + CheckUpperIs(node, Type::Any());
|
| + break;
|
| + }
|
| case IrOpcode::kSwitch: {
|
| // Switch uses are Case and Default.
|
| int count_case = 0, count_default = 0;
|
|
|