DebugInfo: Remove DIDescriptor::Verify()
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DebugLocEntry.h
index 6914bbe9a5946cc2ecdd1b844ef4127328b116cd..0b5b8580cd8fbced6c03640e9f31f13daee1a1de 100644 (file)
@@ -42,7 +42,7 @@ public:
     }
     Value(const MDNode *Var, const MDNode *Expr, MachineLocation Loc)
         : Variable(Var), Expression(Expr), EntryKind(E_Location), Loc(Loc) {
-      assert(DIVariable(Var).Verify());
+      assert(isa<MDLocalVariable>(Var));
       assert(DIExpression(Expr)->isValid());
     }