Eliminate a 'control reaches end of non-void function' warning.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 9 Feb 2009 03:07:24 +0000 (03:07 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 9 Feb 2009 03:07:24 +0000 (03:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64111 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/CodeGenDAGPatterns.h

index 0bd316511e63bbdd0a24595c4774c550ae760975..a3e0af6d6110a6410d7350bd899531cc789b01e0 100644 (file)
@@ -528,6 +528,7 @@ public:
     if (IID-Intrinsics.size()-1 < TgtIntrinsics.size())
       return TgtIntrinsics[IID-Intrinsics.size()-1];
     assert(0 && "Bad intrinsic ID!");
+    abort();
   }
   
   unsigned getIntrinsicID(Record *R) const {