mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 01:42:09 +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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int failed = PreprocessModule(M.get());
|
if (PreprocessModule(M.get())) return 1;
|
||||||
|
|
||||||
if (!failed)
|
if (OptimizeModule(M.get())) return 1;
|
||||||
failed = OptimizeModule(M.get());
|
|
||||||
|
|
||||||
if (!failed)
|
if (GenerateCodeForModule(M.get(), target.get())) return 1;
|
||||||
failed = GenerateCodeForModule(M.get(), target.get());
|
|
||||||
|
|
||||||
if (!failed && ! DoNotEmitAssembly)
|
if (!DoNotEmitAssembly)
|
||||||
failed = EmitAssemblyForModule(M.get(), target.get());
|
if (EmitAssemblyForModule(M.get(), target.get())) return 1;
|
||||||
|
|
||||||
return failed;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user