X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FAsmParser%2FParser.cpp;h=dfe8d559a44cd526c8c28ea788e3bd907be9cc39;hb=0235fe2b72af319a54c893887732b81df4c59906;hp=7af313348d29b1bb9412ef06980636f791772aa1;hpb=7e70829632f82de15db187845666aaca6e04b792;p=oota-llvm.git diff --git a/lib/AsmParser/Parser.cpp b/lib/AsmParser/Parser.cpp index 7af313348d2..dfe8d559a44 100644 --- a/lib/AsmParser/Parser.cpp +++ b/lib/AsmParser/Parser.cpp @@ -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; }