summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-07-28 18:21:10 +0000
committerBob Wilson <bob.wilson@apple.com>2010-07-28 18:21:10 +0000
commitfdb530d40630d3c3cac6426fa6a470603fc9f7f1 (patch)
tree5ee46cfb8e17ea835f92d1ffa1a48b5bf6ec17e8 /utils
parentbae1b71cbb930e419df03db209ebc547a0e4ec72 (diff)
downloadllvm-fdb530d40630d3c3cac6426fa6a470603fc9f7f1.tar.gz
llvm-fdb530d40630d3c3cac6426fa6a470603fc9f7f1.tar.bz2
llvm-fdb530d40630d3c3cac6426fa6a470603fc9f7f1.tar.xz
Fix a warning from gcc-4.0 (from the ppc buildbot).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/NeonEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp
index 3516d31885..a754ce289a 100644
--- a/utils/TableGen/NeonEmitter.cpp
+++ b/utils/TableGen/NeonEmitter.cpp
@@ -1016,6 +1016,8 @@ static unsigned RangeFromType(StringRef typestr) {
throw "unhandled type!";
break;
}
+ assert(0 && "unreachable");
+ return 0;
}
/// runHeader - Emit a file with sections defining: