mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +00:00
Use DEBUG instead of DebugFlag directly, as DebugFlag does not respect
-debug-only! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9cfa0d95fa
commit
dd27827733
@ -344,11 +344,9 @@ bool SCCP::runOnFunction(Function &F) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DebugFlag) {
|
DEBUG(for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I)
|
||||||
for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I)
|
|
||||||
if (!BBExecutable.count(I))
|
if (!BBExecutable.count(I))
|
||||||
std::cerr << "BasicBlock Dead:" << *I;
|
std::cerr << "BasicBlock Dead:" << *I);
|
||||||
}
|
|
||||||
|
|
||||||
// Iterate over all of the instructions in a function, replacing them with
|
// Iterate over all of the instructions in a function, replacing them with
|
||||||
// constants if we have found them to be of constant values.
|
// constants if we have found them to be of constant values.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user