summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/InstrSelectorEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/InstrSelectorEmitter.cpp b/utils/TableGen/InstrSelectorEmitter.cpp
index 8bc8f611dd..a3c535cad4 100644
--- a/utils/TableGen/InstrSelectorEmitter.cpp
+++ b/utils/TableGen/InstrSelectorEmitter.cpp
@@ -210,6 +210,7 @@ TreePatternNode *Pattern::ParseTreePattern(DagInit *Dag) {
} else {
Arg->dump();
error("Unknown leaf value for tree pattern!");
+ return 0;
}
// Apply the type cast...