[llvm-commits] [llvm] r103278 - /llvm/trunk/include/llvm/Analysis/DebugInfo.h

Devang Patel dpatel at apple.com
Fri May 7 11:36:34 PDT 2010


Author: dpatel
Date: Fri May  7 13:36:34 2010
New Revision: 103278

URL: http://llvm.org/viewvc/llvm-project?rev=103278&view=rev
Log:
remove DIDescriptor::getNode()

Modified:
    llvm/trunk/include/llvm/Analysis/DebugInfo.h

Modified: llvm/trunk/include/llvm/Analysis/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DebugInfo.h?rev=103278&r1=103277&r2=103278&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/DebugInfo.h Fri May  7 13:36:34 2010
@@ -52,7 +52,7 @@
 
     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 @@
 
     bool Verify() const { return DbgNode != 0; }
 
-    MDNode *getNode() const   { return DbgNode; }
     operator MDNode *() const { return DbgNode; }
     MDNode *operator ->() const { return DbgNode; }
 





More information about the llvm-commits mailing list