remove DIDescriptor::getNode()

llvm-svn: 103278
This commit is contained in:
Devang Patel 2010-05-07 18:36:34 +00:00
parent 2a41cad900
commit 8ae34dbd34
1 changed files with 1 additions and 2 deletions

View File

@ -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; }