Move hasFP() and few related hooks to TargetFrameInfo.
llvm-svn: 119740
diff --git a/llvm/lib/Target/CellSPU/SPUFrameInfo.h b/llvm/lib/Target/CellSPU/SPUFrameInfo.h
index 89ce1e9..a705a9f 100644
--- a/llvm/lib/Target/CellSPU/SPUFrameInfo.h
+++ b/llvm/lib/Target/CellSPU/SPUFrameInfo.h
@@ -37,6 +37,9 @@
void emitPrologue(MachineFunction &MF) const;
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
+ //! Prediate: Target has dedicated frame pointer
+ bool hasFP(const MachineFunction &MF) const;
+
//! Return a function's saved spill slots
/*!
For CellSPU, a function's saved spill slots is just the link register.