diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-09-10 13:20:00 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-09-10 13:20:00 +0000 |
commit | ff1b63172d22c148c9180a546262f61a8c334974 (patch) | |
tree | 91ec78aae99abb4dfed78cdf20a79a381c32c7ed /lib/CodeGen/StackColoring.cpp | |
parent | 9438d1e3514ab8801e9c488d9723241af7f4dc91 (diff) |
Minor cleanup. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackColoring.cpp')
-rw-r--r-- | lib/CodeGen/StackColoring.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/StackColoring.cpp b/lib/CodeGen/StackColoring.cpp index 10ebe5126e..462a134ace 100644 --- a/lib/CodeGen/StackColoring.cpp +++ b/lib/CodeGen/StackColoring.cpp @@ -241,7 +241,7 @@ unsigned StackColoring::collectMarkers(unsigned NumSlot) { MarkersFound++; - const Value* Allocation = MFI->getObjectAllocation(Slot); + const Value *Allocation = MFI->getObjectAllocation(Slot); if (Allocation) { DEBUG(dbgs()<<"Found lifetime marker for allocation: "<< Allocation->getName()<<"\n"); @@ -452,8 +452,8 @@ void StackColoring::remapInstructions(DenseMap<int, int> &SlotRemap) { DenseMap<const Value*, const Value*> Allocas; for (DenseMap<int, int>::iterator it = SlotRemap.begin(), e = SlotRemap.end(); it != e; ++it) { - const Value* From = MFI->getObjectAllocation(it->first); - const Value* To = MFI->getObjectAllocation(it->second); + const Value *From = MFI->getObjectAllocation(it->first); + const Value *To = MFI->getObjectAllocation(it->second); assert(To && From && "Invalid allocation object"); Allocas[From] = To; } |