diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-01-23 00:57:47 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-23 00:57:47 +0000 |
| commit | dc77540d9506dc151d79b94bae88bd841880ef37 (patch) | |
| tree | 70a0f790d47c1ecb9eb907454b9360555140b89c /lib/Target/ARM/ARMRegisterInfo.cpp | |
| parent | fad2912522a4c97128d8afcc2f40ca0e39287ddb (diff) | |
hasFP() is now a virtual method of MRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMRegisterInfo.cpp')
| -rw-r--r-- | lib/Target/ARM/ARMRegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMRegisterInfo.cpp b/lib/Target/ARM/ARMRegisterInfo.cpp index 979cb513ef..2b179cf821 100644 --- a/lib/Target/ARM/ARMRegisterInfo.cpp +++ b/lib/Target/ARM/ARMRegisterInfo.cpp @@ -277,7 +277,7 @@ ARMRegisterInfo::getCalleeSavedRegClasses() const { /// 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 ARMRegisterInfo::hasFP(const MachineFunction &MF) const { return NoFramePointerElim || MF.getFrameInfo()->hasVarSizedObjects(); } |
