diff options
| author | Dan Gohman <gohman@apple.com> | 2009-11-23 21:30:55 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-11-23 21:30:55 +0000 |
| commit | 8d34f97d8b78e04cad93ab4fb27f19963c0b2f70 (patch) | |
| tree | 8d6ba4451a3b7af39f38a15f7c6bbcef66e02e47 /lib/CodeGen | |
| parent | 3a271d8ee93e2de1277abaa40fe3614c458905be (diff) | |
| download | external_llvm-8d34f97d8b78e04cad93ab4fb27f19963c0b2f70.zip external_llvm-8d34f97d8b78e04cad93ab4fb27f19963c0b2f70.tar.gz external_llvm-8d34f97d8b78e04cad93ab4fb27f19963c0b2f70.tar.bz2 | |
Simplify this code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 4567583..f1b9c8a 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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); |
