summaryrefslogtreecommitdiff
path: root/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
commit7cc5177d460333ca9a2f3c0783dd0d0490456867 (patch)
tree2d29b4a6f7528ade66e175edb2dd58afefae3229 /lib/CodeGen/LiveDebugVariables.cpp
parent7044cce1a30539e2ec779f49546d13d7db5a33df (diff)
downloadllvm-7cc5177d460333ca9a2f3c0783dd0d0490456867.tar.gz
llvm-7cc5177d460333ca9a2f3c0783dd0d0490456867.tar.bz2
llvm-7cc5177d460333ca9a2f3c0783dd0d0490456867.tar.xz
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--lib/CodeGen/LiveDebugVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveDebugVariables.cpp b/lib/CodeGen/LiveDebugVariables.cpp
index c35302a050..7241334dff 100644
--- a/lib/CodeGen/LiveDebugVariables.cpp
+++ b/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];