mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-10 14:36:01 +00:00
No need to check the same condition twice.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99716 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60a6e1f461
commit
92f5fccb4d
@ -611,7 +611,7 @@ int main(int argc, char **argv, char **envp) {
|
||||
args[2] = tmp_output.c_str();
|
||||
args[3] = 0;
|
||||
if (0 == sys::Program::ExecuteAndWait(prog, args, 0,0,0,0, &ErrMsg)) {
|
||||
if (tmp_output.isBitcodeFile() || tmp_output.isBitcodeFile()) {
|
||||
if (tmp_output.isBitcodeFile()) {
|
||||
sys::Path target(BitcodeOutputFilename);
|
||||
target.eraseFromDisk();
|
||||
if (tmp_output.renamePathOnDisk(target, &ErrMsg))
|
||||
|
Loading…
x
Reference in New Issue
Block a user