mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
Minor code cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@825 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ef77fcd55
commit
90c5b3d753
@ -329,17 +329,15 @@ main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int failed = PreprocessModule(M.get());
|
||||
if (PreprocessModule(M.get())) return 1;
|
||||
|
||||
if (!failed)
|
||||
failed = OptimizeModule(M.get());
|
||||
if (OptimizeModule(M.get())) return 1;
|
||||
|
||||
if (!failed)
|
||||
failed = GenerateCodeForModule(M.get(), target.get());
|
||||
if (GenerateCodeForModule(M.get(), target.get())) return 1;
|
||||
|
||||
if (!failed && ! DoNotEmitAssembly)
|
||||
failed = EmitAssemblyForModule(M.get(), target.get());
|
||||
if (!DoNotEmitAssembly)
|
||||
if (EmitAssemblyForModule(M.get(), target.get())) return 1;
|
||||
|
||||
return failed;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user