diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelection.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 2 |
2 files changed, 4 insertions, 4 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); } diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 7c3f29305e9..c7590aba194 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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; } |

