summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-26 20:06:46 +0000
committerDevang Patel <dpatel@apple.com>2010-08-26 20:06:46 +0000
commitf2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b (patch)
tree9c1aad1faf0223a4a3cea3ba11f782a89f937aa5 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parent01ba461af7eafc9d181a5c349487691f2e801438 (diff)
downloadllvm-f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b.tar.gz
llvm-f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b.tar.bz2
llvm-f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b.tar.xz
Update DanglingDebugInfo so that it can be used to track llvm.dbg.declare also.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index 2ba88974ab..047a05dd67 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -36,7 +36,7 @@ class BasicBlock;
class BitCastInst;
class BranchInst;
class CallInst;
-class DbgValueInst;
+class DbgInfoIntrinsic;
class ExtractElementInst;
class ExtractValueInst;
class FCmpInst;
@@ -96,14 +96,14 @@ class SelectionDAGBuilder {
/// DanglingDebugInfo - Helper type for DanglingDebugInfoMap.
class DanglingDebugInfo {
- const DbgValueInst* DI;
+ const DbgInfoIntrinsic* DI;
DebugLoc dl;
unsigned SDNodeOrder;
public:
DanglingDebugInfo() : DI(0), dl(DebugLoc()), SDNodeOrder(0) { }
- DanglingDebugInfo(const DbgValueInst *di, DebugLoc DL, unsigned SDNO) :
+ DanglingDebugInfo(const DbgInfoIntrinsic *di, DebugLoc DL, unsigned SDNO) :
DI(di), dl(DL), SDNodeOrder(SDNO) { }
- const DbgValueInst* getDI() { return DI; }
+ const DbgInfoIntrinsic* getDI() { return DI; }
DebugLoc getdl() { return dl; }
unsigned getSDNodeOrder() { return SDNodeOrder; }
};