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 | 3650f4ed0cb90e8ae3bcae841241d03a4a36b0eb (patch) | |
tree | ff0febdf5ae069bab9bd7cc29f43c25d336f5c6e /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 2e3f187cbd542ec5f8f01efc40ff80bfa3ce7602 (diff) | |
download | bcm5719-llvm-3650f4ed0cb90e8ae3bcae841241d03a4a36b0eb.tar.gz bcm5719-llvm-3650f4ed0cb90e8ae3bcae841241d03a4a36b0eb.zip |
Simplify this code.
llvm-svn: 89702
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 45675836289..f1b9c8ac8fa 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/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); |