AsmParser now depends on clients to verify that input is well formed
authorChris Lattner <sabre@nondot.org>
Fri, 30 Aug 2002 22:52:23 +0000 (22:52 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 30 Aug 2002 22:52:23 +0000 (22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3548 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/Parser.cpp

index 7af313348d29b1bb9412ef06980636f791772aa1..dfe8d559a44cd526c8c28ea788e3bd907be9cc39 100644 (file)
@@ -33,12 +33,6 @@ Module *ParseAssemblyFile(const string &Filename) { // throw (ParseException)
   if (F != stdin)
     fclose(F);
 
-  if (Result) {  // Check to see that it is valid...
-    if (verifyModule(*Result)) {
-      delete Result;
-      throw ParseException(Filename, "Source file is not well formed LLVM!");
-    }
-  }
   return Result;
 }