diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-07-23 19:27:24 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-07-23 19:27:24 +0000 | 
| commit | ab0cc40796935e2bfe02ed9b3e90a055a3780b87 (patch) | |
| tree | 2ccf966631e1edfc17edf1c791f43abeffa11a4d /llvm/lib/CodeGen | |
| parent | 0d005997fd4de32776e4a97c81212a64b5475fa3 (diff) | |
| download | bcm5719-llvm-ab0cc40796935e2bfe02ed9b3e90a055a3780b87.tar.gz bcm5719-llvm-ab0cc40796935e2bfe02ed9b3e90a055a3780b87.zip | |
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
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp index bfeec4412e6..9cc054ca4de 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -67,7 +67,7 @@ bool SelectInstructionsForMethod(Method* method, TargetMachine &Target) {        // 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 @@ bool SelectInstructionsForMethod(Method* method, TargetMachine &Target) {    if (!failed)      { -      if (DebugLevel.getValue() >= DebugInstTrees) +      if (DebugLevel >= DebugInstTrees)  	{  	  cout << "\n\n*** Instruction trees for method "  	       << (method->hasName()? method->getName() : "") @@ -92,7 +92,7 @@ bool SelectInstructionsForMethod(Method* method, TargetMachine &Target) {  	  instrForest.dump();  	} -      if (DebugLevel.getValue() > NoDebugInfo) +      if (DebugLevel > NoDebugInfo)  	PrintMachineInstructions(method);      } | 

