Make the pass class name more explicit.

llvm-svn: 88964
This commit is contained in:
Jim Grosbach 2009-11-16 21:13:22 +00:00
parent b71c28db22
commit 56ee15c162
1 changed files with 6 additions and 4 deletions

View File

@ -1464,9 +1464,9 @@ emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const {
}
namespace {
struct MSAC : public MachineFunctionPass {
struct MaximalStackAlignmentCalculator : public MachineFunctionPass {
static char ID;
MSAC() : MachineFunctionPass(&ID) {}
MaximalStackAlignmentCalculator() : MachineFunctionPass(&ID) {}
virtual bool runOnMachineFunction(MachineFunction &MF) {
MachineFrameInfo *FFI = MF.getFrameInfo();
@ -1499,10 +1499,12 @@ namespace {
}
};
char MSAC::ID = 0;
char MaximalStackAlignmentCalculator::ID = 0;
}
FunctionPass*
llvm::createARMMaxStackAlignmentCalculatorPass() { return new MSAC(); }
llvm::createARMMaxStackAlignmentCalculatorPass() {
return new MaximalStackAlignmentCalculator();
}
#include "ARMGenRegisterInfo.inc"