Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 5e1eae685694f7a621ba3a4b13c96570649298d3..db344e42a08cfe6149f381a7881a83e79c263ba8 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -250,12 +250,12 @@ void Verifier::Visitor::Check(Node* node) { |
break; |
} |
default: { |
- UNREACHABLE(); |
+ V8_Fatal(__FILE__, __LINE__, "Switch #%d illegally used by #%d:%s", |
+ node->id(), use->id(), use->op()->mnemonic()); |
break; |
} |
} |
} |
- CHECK_LE(1, count_case); |
CHECK_EQ(1, count_default); |
CHECK_EQ(node->op()->ControlOutputCount(), count_case + count_default); |
// Type is empty. |