IR: Remove MDTupleTypedArrayWrapper::operator MDTuple*()
[oota-llvm.git] / include / llvm / IR / DebugInfo.h
index 8d6dbc67f741fa7d630e202c17a4718b256c589c..dc1514d16af2c143d32007071ff218b5259b2487 100644 (file)
@@ -439,9 +439,7 @@ public:
     return DITypeRef::get(get()->getVTableHolder());
   }
 
-  DIArray getTemplateParams() const {
-    return DIArray(get()->getTemplateParams());
-  }
+  DIArray getTemplateParams() const { return get()->getTemplateParams(); }
   MDString *getIdentifier() const { return get()->getRawIdentifier(); }
 };
 
@@ -585,7 +583,6 @@ public:
   DISubprogram getFunctionDeclaration() const {
     return DISubprogram(get()->getDeclaration());
   }
-  MDNode *getVariablesNodes() const { return getVariables(); }
   DIArray getVariables() const { return DIArray(get()->getVariables()); }
 
   unsigned isArtificial() const { return get()->isArtificial(); }