summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-16 00:02:21 +0000
committerChris Lattner <sabre@nondot.org>2004-07-16 00:02:21 +0000
commit89ae115aa5db45f0ba196af575851d669613e62b (patch)
tree1b42f00f42f48310e6d40f1ed5dcd98be052550d
parentb50070175d8d3c494eba9a036796079f84b816fc (diff)
downloadbcm5719-llvm-89ae115aa5db45f0ba196af575851d669613e62b.tar.gz
bcm5719-llvm-89ae115aa5db45f0ba196af575851d669613e62b.zip
Passing integer 0 in for a pointer value doesn't work on IA64. Fix this
by using a new macro. llvm-svn: 14863
-rw-r--r--llvm/utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/TableGen.cpp b/llvm/utils/TableGen/TableGen.cpp
index 2409d37196b..e0885d1f9bc 100644
--- a/llvm/utils/TableGen/TableGen.cpp
+++ b/llvm/utils/TableGen/TableGen.cpp
@@ -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"),
OpenPOWER on IntegriCloud