Changes in directory llvm/include/llvm/Target:
MRegisterInfo.h updated: 1.86 -> 1.87 --- Log message: hasFP() is now a virtual method of MRegisterInfo. --- Diffs of the changes: (+5 -0) MRegisterInfo.h | 5 +++++ 1 files changed, 5 insertions(+) Index: llvm/include/llvm/Target/MRegisterInfo.h diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.86 llvm/include/llvm/Target/MRegisterInfo.h:1.87 --- llvm/include/llvm/Target/MRegisterInfo.h:1.86 Tue Jan 2 15:30:17 2007 +++ llvm/include/llvm/Target/MRegisterInfo.h Mon Jan 22 18:51:23 2007 @@ -367,6 +367,11 @@ return 0; } + /// hasFP - Return true if the specified function should have a dedicated frame + /// pointer register. For most targets this is true only if the function has + /// variable sized allocas or if frame pointer elimination is disabled. + virtual bool hasFP(const MachineFunction &MF) const = 0; + /// getCallFrameSetup/DestroyOpcode - These methods return the opcode of the /// frame setup/destroy instructions if they exist (-1 otherwise). Some /// targets use pseudo instructions in order to abstract away the difference _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits