Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 03fc62640dc01531d9aef423e0fc8d8533b5d592..73918d19645393673676136943847abba826ce13 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -284,6 +284,11 @@ void Verifier::Visitor::Check(Node* node) { |
// Type is empty. |
CheckNotTyped(node); |
break; |
+ case IrOpcode::kTrapIf: |
+ case IrOpcode::kTrapUnless: |
+ // Type is empty. |
+ CheckNotTyped(node); |
+ break; |
case IrOpcode::kDeoptimize: |
case IrOpcode::kReturn: |
case IrOpcode::kThrow: |