From 56ee15c1626cc78bd775ab6185a141905a357347 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Mon, 16 Nov 2009 21:13:22 +0000 Subject: [PATCH] Make the pass class name more explicit. llvm-svn: 88964 --- llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp index 74cbd3372537..19762ee5cfb0 100644 --- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp +++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp @@ -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"