mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Use DEBUG instead of DebugFlag directly, as DebugFlag does not respect
-debug-only! llvm-svn: 16868
This commit is contained in:
parent
dd0d25c37d
commit
f8a6e4402e
@ -344,11 +344,9 @@ bool SCCP::runOnFunction(Function &F) {
|
||||
}
|
||||
}
|
||||
|
||||
if (DebugFlag) {
|
||||
for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I)
|
||||
if (!BBExecutable.count(I))
|
||||
std::cerr << "BasicBlock Dead:" << *I;
|
||||
}
|
||||
DEBUG(for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I)
|
||||
if (!BBExecutable.count(I))
|
||||
std::cerr << "BasicBlock Dead:" << *I);
|
||||
|
||||
// Iterate over all of the instructions in a function, replacing them with
|
||||
// constants if we have found them to be of constant values.
|
||||
|
Loading…
Reference in New Issue
Block a user