[llvm-commits] [llvm] r109605 - /llvm/trunk/utils/TableGen/NeonEmitter.cpp

Bob Wilson bob.wilson at apple.com
Wed Jul 28 11:21:10 PDT 2010


Author: bwilson
Date: Wed Jul 28 13:21:10 2010
New Revision: 109605

URL: http://llvm.org/viewvc/llvm-project?rev=109605&view=rev
Log:
Fix a warning from gcc-4.0 (from the ppc buildbot).

Modified:
    llvm/trunk/utils/TableGen/NeonEmitter.cpp

Modified: llvm/trunk/utils/TableGen/NeonEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/NeonEmitter.cpp?rev=109605&r1=109604&r2=109605&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/NeonEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/NeonEmitter.cpp Wed Jul 28 13:21:10 2010
@@ -1016,6 +1016,8 @@
       throw "unhandled type!";
       break;
   }
+  assert(0 && "unreachable");
+  return 0;
 }
 
 /// runHeader - Emit a file with sections defining:





More information about the llvm-commits mailing list