Changes in directory llvm/lib/Target/Alpha:
AlphaRegisterInfo.cpp updated: 1.55 -> 1.56 AlphaRegisterInfo.h updated: 1.16 -> 1.17 --- Log message: hasFP() is now a virtual method of MRegisterInfo. --- Diffs of the changes: (+3 -1) AlphaRegisterInfo.cpp | 2 +- AlphaRegisterInfo.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.55 llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.56 --- llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.55 Tue Jan 2 15:32:26 2007 +++ llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp Mon Jan 22 18:53:13 2007 @@ -186,7 +186,7 @@ // pointer register. This is true if the function has variable sized allocas or // if frame pointer elimination is disabled. // -static bool hasFP(const MachineFunction &MF) { +bool AlphaRegisterInfo::hasFP(const MachineFunction &MF) const { MachineFrameInfo *MFI = MF.getFrameInfo(); return MFI->hasVarSizedObjects(); } Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.h diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.h:1.16 llvm/lib/Target/Alpha/AlphaRegisterInfo.h:1.17 --- llvm/lib/Target/Alpha/AlphaRegisterInfo.h:1.16 Tue Jan 2 15:32:26 2007 +++ llvm/lib/Target/Alpha/AlphaRegisterInfo.h Mon Jan 22 18:53:13 2007 @@ -49,6 +49,8 @@ const TargetRegisterClass* const* getCalleeSavedRegClasses() const; + bool hasFP(const MachineFunction &MF) const; + void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits