diff options
author | Devang Patel <dpatel@apple.com> | 2010-08-26 20:06:46 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-08-26 20:06:46 +0000 |
commit | f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b (patch) | |
tree | 9c1aad1faf0223a4a3cea3ba11f782a89f937aa5 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | 01ba461af7eafc9d181a5c349487691f2e801438 (diff) | |
download | external_llvm-f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b.zip external_llvm-f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b.tar.gz external_llvm-f2ec7ae2799c149e4eccfb5a3632f9ba8c6dae7b.tar.bz2 |
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index 2ba8897..047a05d 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; } }; |