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 | ba9a03f279bc90550303f17d368817da7b2dd165 (patch) | |
| tree | db614af82853bca5e49f29e4b38605e0a96deda2 | |
| parent | d62287dc9184755cdff680600cb312a6eba6a117 (diff) | |
| download | bcm5719-llvm-ba9a03f279bc90550303f17d368817da7b2dd165.tar.gz bcm5719-llvm-ba9a03f279bc90550303f17d368817da7b2dd165.zip | |
Minor cleanup. No functional change.
llvm-svn: 163510
| -rw-r--r-- | llvm/lib/CodeGen/StackColoring.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/StackColoring.cpp b/llvm/lib/CodeGen/StackColoring.cpp index 10ebe5126e4..462a134ace3 100644 --- a/llvm/lib/CodeGen/StackColoring.cpp +++ b/llvm/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; } |

