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:
3959223
)
Small code cleanup.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 18 May 2009 22:33:01 +0000
(22:33 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 18 May 2009 22:33:01 +0000
(22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72057
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 0e2e39eea234136fc084b1ba118468433aa8e8e0..5ffe1fdf160957d0b197417f5811f585c8d9c05a 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-2463,15
+2463,10
@@
void DwarfDebug::RecordVariable(GlobalVariable *GV, unsigned FrameIndex,
SmallSet<const GlobalVariable *, 32> >::iterator
IP = InlinedParamMap.find(V);
- if (IP != InlinedParamMap.end()) {
- SmallSet<const GlobalVariable*, 32> &S = IP->second;
-
- if (S.count(GV) > 0) {
- if (TimePassesIsEnabled)
- DebugTimer->stopTimer();
- return;
- }
-
+ if (IP != InlinedParamMap.end() && IP->second.count(GV) > 0) {
+ if (TimePassesIsEnabled)
+ DebugTimer->stopTimer();
+ return;
}
// or GV is an inlined local variable.