summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-15 21:33:35 +0000
committerEric Christopher <echristo@apple.com>2012-03-15 21:33:35 +0000
commitbe153e6610e4ebfa903ff013b8d3ae3fd12056c1 (patch)
tree7c65706fba4049f19226a65f41c834a743bd45bd /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent21561f937a3d20e9818cabbd97f57bc434097cad (diff)
downloadbcm5719-llvm-be153e6610e4ebfa903ff013b8d3ae3fd12056c1.tar.gz
bcm5719-llvm-be153e6610e4ebfa903ff013b8d3ae3fd12056c1.zip
Typo.
llvm-svn: 152841
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index c35302a0501..7241334dffd 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -841,7 +841,7 @@ bool
UserValue::splitRegister(unsigned OldReg, ArrayRef<LiveInterval*> NewRegs) {
bool DidChange = false;
// Split locations referring to OldReg. Iterate backwards so splitLocation can
- // safely erase unuused locations.
+ // safely erase unused locations.
for (unsigned i = locations.size(); i ; --i) {
unsigned LocNo = i-1;
const MachineOperand *Loc = &locations[LocNo];
OpenPOWER on IntegriCloud