| Index: src/compiler/verifier.cc
|
| diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
|
| index 4dd0b6470648e6799ef4ce50c657cc7f9b9064bd..e7580037fb04003d0a95055d93b4f7e1ee3ff955 100644
|
| --- a/src/compiler/verifier.cc
|
| +++ b/src/compiler/verifier.cc
|
| @@ -168,16 +168,6 @@ void Verifier::Visitor::Check(Node* node) {
|
| }
|
|
|
| switch (node->opcode()) {
|
| - case IrOpcode::kAlways:
|
| - // Always has no inputs.
|
| - CHECK_EQ(0, input_count);
|
| - // Always uses are Branch.
|
| - for (auto use : node->uses()) {
|
| - CHECK(use->opcode() == IrOpcode::kBranch);
|
| - }
|
| - // Type is boolean.
|
| - CheckUpperIs(node, Type::Boolean());
|
| - break;
|
| case IrOpcode::kStart:
|
| // Start has no inputs.
|
| CHECK_EQ(0, input_count);
|
| @@ -293,6 +283,15 @@ void Verifier::Visitor::Check(Node* node) {
|
| // Type is empty.
|
| CheckNotTyped(node);
|
| break;
|
| + case IrOpcode::kTerminate:
|
| + CHECK_EQ(IrOpcode::kLoop,
|
| + NodeProperties::GetControlInput(node)->opcode());
|
| + // Type is empty.
|
| + CheckNotTyped(node);
|
| + CHECK_EQ(1, control_count);
|
| + CHECK_EQ(1, effect_count);
|
| + CHECK_EQ(2, input_count);
|
| + break;
|
| case IrOpcode::kOsrNormalEntry:
|
| case IrOpcode::kOsrLoopEntry:
|
| // Osr entries have
|
|
|