Passing integer 0 in for a pointer value doesn't work on IA64. Fix this
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:02:21 +0000 (00:02 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:02:21 +0000 (00:02 +0000)
by using a new macro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14863 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/TableGen.cpp

index 2409d37196b6436a0ea1168e36ef31f02ead5b44..e0885d1f9bcf9a320e99366c7605174690bedf3d 100644 (file)
@@ -64,7 +64,7 @@ namespace {
                                "Print enum values for a class"),
                     clEnumValN(Parse, "parse",
                                "Interpret machine code (testing only)"),
-                    0));
+                    clEnumValEnd));
 
   cl::opt<std::string>
   Class("class", cl::desc("Print Enum list for this class"),