mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Simplify some code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -3545,14 +3545,11 @@ public:
|
|||||||
|
|
||||||
DenseMap<GlobalVariable *, SmallVector<DbgScope *, 2> >::iterator
|
DenseMap<GlobalVariable *, SmallVector<DbgScope *, 2> >::iterator
|
||||||
SI = DbgInlinedScopeMap.find(GV);
|
SI = DbgInlinedScopeMap.find(GV);
|
||||||
if (SI == DbgInlinedScopeMap.end()) {
|
|
||||||
SmallVector<DbgScope *, 2> Scopes;
|
if (SI == DbgInlinedScopeMap.end())
|
||||||
Scopes.push_back(Scope);
|
DbgInlinedScopeMap[GV].push_back(Scope);
|
||||||
DbgInlinedScopeMap[GV] = Scopes;
|
else
|
||||||
} else {
|
SI->second.push_back(Scope);
|
||||||
SmallVector<DbgScope *, 2> &Scopes = SI->second;
|
|
||||||
Scopes.push_back(Scope);
|
|
||||||
}
|
|
||||||
|
|
||||||
DenseMap<GlobalVariable *, SmallVector<unsigned, 4> >::iterator
|
DenseMap<GlobalVariable *, SmallVector<unsigned, 4> >::iterator
|
||||||
I = InlineInfo.find(GV);
|
I = InlineInfo.find(GV);
|
||||||
|
Reference in New Issue
Block a user