CommandLine library cleanup. No longer use getValue/setValue, instead, just treat the commandline
args as the objects they represent and the "right thing" will happen
llvm-svn: 283
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
index bfeec44..9cc054c 100644
--- a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
+++ b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp
@@ -67,7 +67,7 @@
// Invoke BURM to label each tree node with a state
(void) burm_label(basicNode);
- if (DebugLevel.getValue() >= DebugBurgTrees)
+ if (DebugLevel >= DebugBurgTrees)
{
printcover(basicNode, 1, 0);
cerr << "\nCover cost == " << treecost(basicNode, 1, 0) << "\n\n";
@@ -84,7 +84,7 @@
if (!failed)
{
- if (DebugLevel.getValue() >= DebugInstTrees)
+ if (DebugLevel >= DebugInstTrees)
{
cout << "\n\n*** Instruction trees for method "
<< (method->hasName()? method->getName() : "")
@@ -92,7 +92,7 @@
instrForest.dump();
}
- if (DebugLevel.getValue() > NoDebugInfo)
+ if (DebugLevel > NoDebugInfo)
PrintMachineInstructions(method);
}