mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user