From ebe57f1b30870d46b48bf3bb22d7a88c780e9848 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 7 May 2010 18:36:34 +0000 Subject: [PATCH] remove DIDescriptor::getNode() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103278 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DebugInfo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 9f269414c7d..9623ce29c2a 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -52,7 +52,7 @@ namespace llvm { template 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; } -- 2.34.1