mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 17:20:28 +00:00
Small code cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3959223330
commit
cde5d63d90
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user