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:
b4202b8
)
llvm.dbg.declare is always used for local variable's debug info.
author
Devang Patel
<dpatel@apple.com>
Wed, 1 Jul 2009 18:51:07 +0000
(18:51 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 1 Jul 2009 18:51:07 +0000
(18:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74625
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 24fccf00eec496f5085c2fd6c34aebfacc048ac8..45c7ace78bdb87e8580324cc54bb51d8712b40d9 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/FastISel.cpp
@@
-442,10
+442,7
@@
bool FastISel::SelectCall(User *I) {
MachineInstr *DeclareMI
= BuildMI(MBB, DL, II).addFrameIndex(FI).addGlobalAddress(GV);
DIVariable DV(cast<GlobalVariable>(GV));
- if (!DV.isNull()) {
- // This is a local variable
- DW->RecordVariableScope(DV, DeclareMI);
- }
+ DW->RecordVariableScope(DV, DeclareMI);
}
return true;
}