summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-30 22:52:23 +0000
committerChris Lattner <sabre@nondot.org>2002-08-30 22:52:23 +0000
commite083fe9e34905843243820f4cc292bef7b79a70c (patch)
tree66df41a37e23292c3c274a7c650d22859162978c /llvm/lib
parent91f9b9de9e0af5ec6c0afd7857b57fdbba4ab77c (diff)
downloadbcm5719-llvm-e083fe9e34905843243820f4cc292bef7b79a70c.tar.gz
bcm5719-llvm-e083fe9e34905843243820f4cc292bef7b79a70c.zip
AsmParser now depends on clients to verify that input is well formed
llvm-svn: 3548
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/AsmParser/Parser.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/AsmParser/Parser.cpp b/llvm/lib/AsmParser/Parser.cpp
index 7af313348d2..dfe8d559a44 100644
--- a/llvm/lib/AsmParser/Parser.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud