aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-10 00:11:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-10 00:11:40 +0000
commitbe8db245f5cac73877bb2695992e6e47af3faa99 (patch)
tree9e90de294b8f5c72f5076c95b4077d599ec8f7fb
parent5edc57fa426837fd745bcf7265f008f98b2c5393 (diff)
Bad choice of variable name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42821 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 4c1a96dd7d..59e9e4501a 100644
--- a/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -861,8 +861,8 @@ void SimpleRegisterCoalescing::CopyCoalesceInMBB(MachineBasicBlock *MBB,
unsigned SrcReg, DstReg;
if (!tii_->isMoveInstr(*Inst, SrcReg, DstReg)) continue;
- bool Success = JoinCopy(Inst, SrcReg, DstReg, PhysOnly);
- if (TryAgain && !Success)
+ bool Done = JoinCopy(Inst, SrcReg, DstReg, PhysOnly);
+ if (TryAgain && !Done)
TryAgain->push_back(getCopyRec(Inst, SrcReg, DstReg));
}
}