diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-11-18 21:19:35 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-11-18 21:19:35 +0000 |
commit | 0eecf5d201358ac82a1effe19dc838cc9e086d9f (patch) | |
tree | eefb16517be24fc9a176db39cb560827df68b01e /llvm/lib/Target/PowerPC/PPCFrameInfo.h | |
parent | c92331b9849845e64140ecbd0508e8db6c3dc1e1 (diff) | |
download | bcm5719-llvm-0eecf5d201358ac82a1effe19dc838cc9e086d9f.tar.gz bcm5719-llvm-0eecf5d201358ac82a1effe19dc838cc9e086d9f.zip |
Move hasFP() and few related hooks to TargetFrameInfo.
llvm-svn: 119740
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFrameInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCFrameInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFrameInfo.h b/llvm/lib/Target/PowerPC/PPCFrameInfo.h index c04d1f51db2..aeaa864e0ab 100644 --- a/llvm/lib/Target/PowerPC/PPCFrameInfo.h +++ b/llvm/lib/Target/PowerPC/PPCFrameInfo.h @@ -37,6 +37,8 @@ public: void emitPrologue(MachineFunction &MF) const; void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; + bool hasFP(const MachineFunction &MF) const; + /// targetHandlesStackFrameRounding - Returns true if the target is /// responsible for rounding up the stack frame (probably at emitPrologue /// time). |