Make error messages more useful than jsut an abort
[oota-llvm.git] / lib / AsmParser / Parser.cpp
index 19632dd13101ec897e434f7bf3a22e7af1e0a3fb..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;
 }