mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
Make the pass class name more explicit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
074fb0252d
commit
7bde297133
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user