AsmParser now depends on clients to verify that input is well formed

llvm-svn: 3548
This commit is contained in:
Chris Lattner 2002-08-30 22:52:23 +00:00
parent 39d3e99afe
commit ecf8698b8b

View 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;
}