mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-20 19:19:55 +00:00
Simplify this code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75ae593a27
commit
277207e6cb
@ -1854,7 +1854,7 @@ void DwarfDebug::beginScope(const MachineInstr *MI, unsigned Label) {
|
||||
InsnToDbgScopeMapTy::iterator I = DbgScopeBeginMap.find(MI);
|
||||
if (I == DbgScopeBeginMap.end())
|
||||
return;
|
||||
ScopeVector &SD = DbgScopeBeginMap[MI];
|
||||
ScopeVector &SD = I->second;
|
||||
for (ScopeVector::iterator SDI = SD.begin(), SDE = SD.end();
|
||||
SDI != SDE; ++SDI)
|
||||
(*SDI)->setStartLabelID(Label);
|
||||
|
Loading…
Reference in New Issue
Block a user