Small code cleanup.

llvm-svn: 72057
This commit is contained in:
Bill Wendling 2009-05-18 22:33:01 +00:00
parent a63ab2dc76
commit 1992f86733
1 changed files with 4 additions and 9 deletions

View File

@ -2463,15 +2463,10 @@ void DwarfDebug::RecordVariable(GlobalVariable *GV, unsigned FrameIndex,
SmallSet<const GlobalVariable *, 32> >::iterator
IP = InlinedParamMap.find(V);
if (IP != InlinedParamMap.end()) {
SmallSet<const GlobalVariable*, 32> &S = IP->second;
if (S.count(GV) > 0) {
if (TimePassesIsEnabled)
DebugTimer->stopTimer();
return;
}
if (IP != InlinedParamMap.end() && IP->second.count(GV) > 0) {
if (TimePassesIsEnabled)
DebugTimer->stopTimer();
return;
}
// or GV is an inlined local variable.