IA64 compat
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:08:28 +0000 (00:08 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:08:28 +0000 (00:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14867 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
lib/VMCore/PassManagerT.h
tools/bugpoint/ExecutionDriver.cpp
tools/llvm-nm/llvm-nm.cpp

index c5dc7c7d6e6b47f3a4bbf0be848f2784d8b62d50..0c12fe42271ed26c2140468f247a0b25e783424f 100644 (file)
@@ -57,7 +57,7 @@ namespace {
      clEnumValN(Select_DebugInstTrees,   "i",
                 "print debugging info for instruction selection"),
      clEnumValN(Select_DebugBurgTrees,   "b", "print burg trees"),
-                              0));
+                              clEnumValEnd));
 
 
   //===--------------------------------------------------------------------===//
index 719a1a8a34429ca2cfd49b038752500516432c05..4a8ada9123842da47d42e968646705abd4c1f3c3 100644 (file)
@@ -40,7 +40,7 @@ clEnumValN(LV_DEBUG_Normal , "y", "enable debug output"),
 clEnumValN(LV_DEBUG_Instr,   "i", "print live-var sets before/after "
            "every machine instrn"),
 clEnumValN(LV_DEBUG_Verbose, "v", "print def, use sets for every instrn also"),
-                        0));
+                        clEnumValEnd));
 
 
 
index 95756db241231b01168b1f96fa28062ae865c454..a153871d80cbc37bf61f5a28da1e5f3fc7fa5bf5 100644 (file)
@@ -63,7 +63,7 @@ DRA_opt("dregalloc", cl::Hidden, cl::location(DEBUG_RA),
   clEnumValN(RA_DEBUG_Interference,"ig","debug output for interference graphs"),
   clEnumValN(RA_DEBUG_LiveRanges , "lr","debug output for live ranges"),
   clEnumValN(RA_DEBUG_Verbose,     "v", "extra debug output"),
-                   0));
+                   clEnumValEnd));
 
 /// The reoptimizer wants to be able to grovel through the register
 /// allocator's state after it has done its job. This is a hack.
index 5d50e721939ea4804396b86b8c9144370ddfecb7..463888a56dbc84944ad93d434e37fbe1160f394a 100644 (file)
@@ -52,7 +52,7 @@ PassDebugging("debug-pass", cl::Hidden,
   clEnumVal(Structure , "print pass structure before run()"),
   clEnumVal(Executions, "print pass name before it is executed"),
   clEnumVal(Details   , "print pass details when it is executed"),
-                         0));
+                         clEnumValEnd));
 
 //===----------------------------------------------------------------------===//
 // PMDebug class - a set of debugging functions, that are not to be
index a08d63268261467a0caccf94592231cb227a164b..c2a4a1cba6c0f9a0a8ec30d504c5821a922a890d 100644 (file)
@@ -38,7 +38,7 @@ namespace {
                             clEnumValN(RunJIT, "run-jit", "Execute with JIT"),
                             clEnumValN(RunLLC, "run-llc", "Compile with LLC"),
                             clEnumValN(RunCBE, "run-cbe", "Compile with CBE"),
-                            0),
+                            clEnumValEnd),
                  cl::init(AutoPick));
 
   cl::opt<bool>
index 78d23d8c5209728b74f0b8375982727cd115fa5a..fc595b3c90b08aad50aa493fbdc0dacd01df43b9 100644 (file)
@@ -35,7 +35,8 @@ namespace {
        cl::desc("Specify output format"),
          cl::values(clEnumVal(bsd,   "BSD format"),
                     clEnumVal(sysv,  "System V format"),
-                    clEnumVal(posix, "POSIX.2 format"), 0), cl::init(bsd));
+                    clEnumVal(posix, "POSIX.2 format"), 
+                    clEnumValEnd), cl::init(bsd));
   cl::alias OutputFormat2("f", cl::desc("Alias for --format"),
                           cl::aliasopt(OutputFormat));