DebugInfo: Drop rest of DIDescriptor subclasses
[oota-llvm.git] / include / llvm / CodeGen / MachineInstr.h
index 9097150ab6260f4d49ef18f5e61c7a2056d2be46..5a28c1bceafdbb489e455df61e60e088135b3eb6 100644 (file)
@@ -246,14 +246,14 @@ public:
 
   /// \brief Return the debug variable referenced by
   /// this DBG_VALUE instruction.
-  DIVariable getDebugVariable() const {
+  const MDLocalVariable *getDebugVariable() const {
     assert(isDebugValue() && "not a DBG_VALUE");
     return cast<MDLocalVariable>(getOperand(2).getMetadata());
   }
 
   /// \brief Return the complex address expression referenced by
   /// this DBG_VALUE instruction.
-  DIExpression getDebugExpression() const {
+  const MDExpression *getDebugExpression() const {
     assert(isDebugValue() && "not a DBG_VALUE");
     return cast<MDExpression>(getOperand(3).getMetadata());
   }