projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make error messages more useful than jsut an abort
[oota-llvm.git]
/
lib
/
AsmParser
/
Parser.cpp
diff --git
a/lib/AsmParser/Parser.cpp
b/lib/AsmParser/Parser.cpp
index 19632dd13101ec897e434f7bf3a22e7af1e0a3fb..dfe8d559a44cd526c8c28ea788e3bd907be9cc39 100644
(file)
--- 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;
}