aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-05-07 18:36:34 +0000
committerDevang Patel <dpatel@apple.com>2010-05-07 18:36:34 +0000
commitebe57f1b30870d46b48bf3bb22d7a88c780e9848 (patch)
treeda84bccf1c6b62984c829d2303445ed864f3beb9 /include/llvm/Analysis
parent4b77f6a85a206f4a4cd23f8cdf710f2574a5ac42 (diff)
downloadexternal_llvm-ebe57f1b30870d46b48bf3bb22d7a88c780e9848.zip
external_llvm-ebe57f1b30870d46b48bf3bb22d7a88c780e9848.tar.gz
external_llvm-ebe57f1b30870d46b48bf3bb22d7a88c780e9848.tar.bz2
remove DIDescriptor::getNode()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/DebugInfo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 9f26941..9623ce2 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -52,7 +52,7 @@ namespace llvm {
template <typename DescTy>
DescTy getFieldAs(unsigned Elt) const {
- return DescTy(getDescriptorField(Elt).getNode());
+ return DescTy(getDescriptorField(Elt));
}
GlobalVariable *getGlobalVariableField(unsigned Elt) const;
@@ -63,7 +63,6 @@ namespace llvm {
bool Verify() const { return DbgNode != 0; }
- MDNode *getNode() const { return DbgNode; }
operator MDNode *() const { return DbgNode; }
MDNode *operator ->() const { return DbgNode; }