diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-07 13:39:22 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-07 13:39:22 +0000 |
commit | ef8c4ca252f1289ca8d0a1e6cfd96ca17fe3c5a8 (patch) | |
tree | ab4cada14200eec36646d146e7daf5247fa471e7 /lib/Target/PowerPC | |
parent | c697f8b28832a0dcb8b7ceb919b02628050b7730 (diff) | |
download | llvm-ef8c4ca252f1289ca8d0a1e6cfd96ca17fe3c5a8.tar.gz llvm-ef8c4ca252f1289ca8d0a1e6cfd96ca17fe3c5a8.tar.bz2 llvm-ef8c4ca252f1289ca8d0a1e6cfd96ca17fe3c5a8.tar.xz |
Remove getEHExceptionRegister and getEHHandlerRegister.
They haven't been used for a long time. Patch by MathOnNapkins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.cpp | 8 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.h | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp index aee28302d6..19ccbfcdb1 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -691,14 +691,6 @@ unsigned PPCRegisterInfo::getFrameRegister(const MachineFunction &MF) const { return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; } -unsigned PPCRegisterInfo::getEHExceptionRegister() const { - return !Subtarget.isPPC64() ? PPC::R3 : PPC::X3; -} - -unsigned PPCRegisterInfo::getEHHandlerRegister() const { - return !Subtarget.isPPC64() ? PPC::R4 : PPC::X4; -} - unsigned PPCRegisterInfo::getBaseRegister(const MachineFunction &MF) const { if (!hasBasePointer(MF)) return getFrameRegister(MF); diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h index d02af9e637..dd3bb405da 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.h +++ b/lib/Target/PowerPC/PPCRegisterInfo.h @@ -97,10 +97,6 @@ public: bool hasBasePointer(const MachineFunction &MF) const; bool canRealignStack(const MachineFunction &MF) const; bool needsStackRealignment(const MachineFunction &MF) const; - - // Exception handling queries. - unsigned getEHExceptionRegister() const; - unsigned getEHHandlerRegister() const; }; } // end namespace llvm |