Tidy up a few more uses of MF.getFunction()->getName().

Based on CR feedback from r162301 and Craig Topper's refactoring in r162347
here are a few other places that could use the same API (& in one instance drop
a Function.h dependency).

llvm-svn: 162367
This commit is contained in:
David Blaikie
2012-08-22 17:18:53 +00:00
parent 67cc06366c
commit c8c2920a3f
12 changed files with 15 additions and 27 deletions

View File

@@ -390,8 +390,7 @@ bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) {
bool StackSlotColoring::runOnMachineFunction(MachineFunction &MF) {
DEBUG({
dbgs() << "********** Stack Slot Coloring **********\n"
<< "********** Function: "
<< MF.getName() << '\n';
<< "********** Function: " << MF.getName() << '\n';
});
MFI = MF.getFrameInfo();