ScopDetection: Improve formatting

llvm-svn: 194931
This commit is contained in:
Tobias Grosser 2013-11-16 19:34:11 +00:00
parent 8a0210e535
commit 378a9f2b91
1 changed files with 6 additions and 3 deletions

View File

@ -468,9 +468,12 @@ Region *ScopDetection::expandRegion(Region &R) {
}
}
DEBUG(if (LastValidRegion) dbgs() << "\tto " << LastValidRegion->getNameStr()
<< "\n";
else dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";);
DEBUG({
if (LastValidRegion)
dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n";
else
dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";
});
return LastValidRegion;
}