aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-23 19:27:24 +0000
committerChris Lattner <sabre@nondot.org>2001-07-23 19:27:24 +0000
commit1e78f36127fb0e405d2cf893e2ce3381300a667b (patch)
tree4bd65a77a8fc6e5ec8d07e3f84203f879cb8b8a4 /lib/CodeGen
parentb49ff5c5ee8d0c3a5b58eaf7cbcaf23c4f2960ea (diff)
downloadexternal_llvm-1e78f36127fb0e405d2cf893e2ce3381300a667b.zip
external_llvm-1e78f36127fb0e405d2cf893e2ce3381300a667b.tar.gz
external_llvm-1e78f36127fb0e405d2cf893e2ce3381300a667b.tar.bz2
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/InstrSelection/InstrSelection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp
index bfeec44..9cc054c 100644
--- a/lib/CodeGen/InstrSelection/InstrSelection.cpp
+++ b/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);
}