OSDN Git Service

Fix a warning from gcc-4.0 (from the ppc buildbot).
authorBob Wilson <bob.wilson@apple.com>
Wed, 28 Jul 2010 18:21:10 +0000 (18:21 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 28 Jul 2010 18:21:10 +0000 (18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109605 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index 3516d31..a754ce2 100644 (file)
@@ -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: