summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7044cce)
raw | patch | inline | side by side (parent: 7044cce)
author | Eric Christopher <echristo@apple.com> | |
Thu, 15 Mar 2012 21:33:35 +0000 (21:33 +0000) | ||
committer | Eric Christopher <echristo@apple.com> | |
Thu, 15 Mar 2012 21:33:35 +0000 (21:33 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152841 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveDebugVariables.cpp | patch | blob | history |
index c35302a05016cd6fff92ce47e000c0e80007408a..7241334dffd0eb58a94a18134abcc063c1fa1cbd 100644 (file)
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];