mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 02:43:51 +00:00
Make this code a little more readable.
llvm-svn: 108968
This commit is contained in:
parent
6f009c4a42
commit
a07df2e2bf
@ -259,8 +259,10 @@ static bool StripDebugInfo(Module &M) {
|
||||
++FI)
|
||||
for (BasicBlock::iterator BI = FI->begin(), BE = FI->end(); BI != BE;
|
||||
++BI) {
|
||||
Changed |= !BI->getDebugLoc().isUnknown();
|
||||
BI->setDebugLoc(DebugLoc());
|
||||
if (!BI->getDebugLoc().isUnknown()) {
|
||||
Changed = true;
|
||||
BI->setDebugLoc(DebugLoc());
|
||||
}
|
||||
}
|
||||
|
||||
return Changed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user