mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-22 10:36:10 +00:00
Simplify more code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3d12854b8
commit
ff86ef33e2
@ -3553,15 +3553,10 @@ public:
|
||||
|
||||
DenseMap<GlobalVariable *, SmallVector<unsigned, 4> >::iterator
|
||||
I = InlineInfo.find(GV);
|
||||
if (I == InlineInfo.end()) {
|
||||
SmallVector<unsigned, 4> Labels;
|
||||
Labels.push_back(LabelID);
|
||||
InlineInfo[GV] = Labels;
|
||||
return;
|
||||
}
|
||||
|
||||
SmallVector<unsigned, 4> &Labels = I->second;
|
||||
Labels.push_back(LabelID);
|
||||
if (I == InlineInfo.end())
|
||||
InlineInfo[GV].push_back(LabelID);
|
||||
else
|
||||
I->second.push_back(LabelID);
|
||||
}
|
||||
|
||||
/// RecordInlinedFnEnd - Indicate the end of inlined subroutine.
|
||||
|
Loading…
x
Reference in New Issue
Block a user