mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
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
This commit is contained in:
parent
917914885d
commit
77e14adf0b
@ -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…
Reference in New Issue
Block a user