projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ae593
)
Simplify this code.
author
Dan Gohman
<gohman@apple.com>
Mon, 23 Nov 2009 21:30:55 +0000
(21:30 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 23 Nov 2009 21:30:55 +0000
(21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89702
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 45675836289c51724f8f0e7b4390b0a8d108aa5f..f1b9c8ac8fa8ebb5bff5c67941367c7e7c263c3b 100644
(file)
--- 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);