llvm.org GIT mirror llvm / ff1b631
Minor cleanup. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163510 91177308-0d34-0410-b5e6-96231b3b80d8 Nadav Rotem 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
240240
241241 MarkersFound++;
242242
243 const Value* Allocation = MFI->getObjectAllocation(Slot);
243 const Value *Allocation = MFI->getObjectAllocation(Slot);
244244 if (Allocation) {
245245 DEBUG(dbgs()<<"Found lifetime marker for allocation: "<<
246246 Allocation->getName()<<"\n");
451451 DenseMap Allocas;
452452 for (DenseMap::iterator it = SlotRemap.begin(),
453453 e = SlotRemap.end(); it != e; ++it) {
454 const Value* From = MFI->getObjectAllocation(it->first);
455 const Value* To = MFI->getObjectAllocation(it->second);
454 const Value *From = MFI->getObjectAllocation(it->first);
455 const Value *To = MFI->getObjectAllocation(it->second);
456456 assert(To && From && "Invalid allocation object");
457457 Allocas[From] = To;
458458 }