diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelection.cpp | 6 | ||||
-rw-r--r-- | lib/Support/CommandLine.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SparcV9/InstrSelection/InstrSelection.cpp | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp index bfeec4412e..9cc054ca4d 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); } diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 7c3f29305e..c7590aba19 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -189,7 +189,7 @@ bool Int::handleOccurance(const char *ArgName, const string &Arg) { // String valued command line option implementation // bool String::handleOccurance(const char *ArgName, const string &Arg) { - Value = Arg; + *this = Arg; return false; } diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp index bfeec4412e..9cc054ca4d 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp +++ b/lib/Target/SparcV9/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); } |