[llvm-commits] [llvm] r163510 - /llvm/trunk/lib/CodeGen/StackColoring.cpp
Nadav Rotem
nrotem at apple.com
Mon Sep 10 06:20:01 PDT 2012
Author: nadav
Date: Mon Sep 10 08:20:00 2012
New Revision: 163510
URL: http://llvm.org/viewvc/llvm-project?rev=163510&view=rev
Log:
Minor cleanup. No functional change.
Modified:
llvm/trunk/lib/CodeGen/StackColoring.cpp
Modified: llvm/trunk/lib/CodeGen/StackColoring.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackColoring.cpp?rev=163510&r1=163509&r2=163510&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackColoring.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackColoring.cpp Mon Sep 10 08:20:00 2012
@@ -241,7 +241,7 @@
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 @@
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;
}
More information about the llvm-commits
mailing list