1
0
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:
Chris Lattner 2004-10-09 19:30:36 +00:00
parent dd0d25c37d
commit f8a6e4402e

View File

@ -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.