diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-30 22:52:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-30 22:52:23 +0000 |
commit | 77e14adf0bb15762b7892529ad5c7705600b4d3a (patch) | |
tree | d2d505134698ab23a6a52747a76040779ba0cde6 | |
parent | 917914885d373ac68a9e1cdd80b21a49f0370c49 (diff) |
AsmParser now depends on clients to verify that input is well formed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3548 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AsmParser/Parser.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/AsmParser/Parser.cpp b/lib/AsmParser/Parser.cpp index 7af313348d..dfe8d559a4 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; } |