mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
AsmParser now depends on clients to verify that input is well formed
llvm-svn: 3548
This commit is contained in:
parent
39d3e99afe
commit
ecf8698b8b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user