Use new macro
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:04:54 +0000 (00:04 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:04:54 +0000 (00:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14865 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/InstrSched/InstrScheduling.cpp
lib/Target/SparcV9/InstrSched/InstrScheduling.cpp

index b98de81820dc25dab329d1b81b19ec5b1888940a..5e66acb06055dfc33ce3e06aa93a41d93fbee6b5 100644 (file)
@@ -38,7 +38,7 @@ SDL_opt("dsched", cl::Hidden, cl::location(SchedDebugLevel),
  clEnumValN(Sched_PrintMachineCode, "y", "print machine code after scheduling"),
  clEnumValN(Sched_PrintSchedTrace,  "t", "print trace of scheduling actions"),
  clEnumValN(Sched_PrintSchedGraphs, "g", "print scheduling graphs"),
-                   0));
+                   clEnumValEnd));
 
 
 //************************* Internal Data Types *****************************/
index b98de81820dc25dab329d1b81b19ec5b1888940a..5e66acb06055dfc33ce3e06aa93a41d93fbee6b5 100644 (file)
@@ -38,7 +38,7 @@ SDL_opt("dsched", cl::Hidden, cl::location(SchedDebugLevel),
  clEnumValN(Sched_PrintMachineCode, "y", "print machine code after scheduling"),
  clEnumValN(Sched_PrintSchedTrace,  "t", "print trace of scheduling actions"),
  clEnumValN(Sched_PrintSchedGraphs, "g", "print scheduling graphs"),
-                   0));
+                   clEnumValEnd));
 
 
 //************************* Internal Data Types *****************************/