getEHExceptionRegister and getEHHandlerRegister are unused and were removed
from most backends in rL192099. This patch removes them from Lanai.
Differential Revision: https://reviews.llvm.org/D36829
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311531
91177308-0d34-0410-b5e6-
96231b3b80d8
unsigned LanaiRegisterInfo::getBaseRegister() const { return Lanai::R14; }
-unsigned LanaiRegisterInfo::getEHExceptionRegister() const {
- llvm_unreachable("no exception support");
- return 0;
-}
-
-unsigned LanaiRegisterInfo::getEHHandlerRegister() const {
- llvm_unreachable("no exception support");
- return 0;
-}
-
const uint32_t *
LanaiRegisterInfo::getCallPreservedMask(const MachineFunction & /*MF*/,
CallingConv::ID /*CC*/) const {
unsigned getBaseRegister() const;
bool hasBasePointer(const MachineFunction &MF) const;
- // Exception handling queries.
- unsigned getEHExceptionRegister() const;
- unsigned getEHHandlerRegister() const;
int getDwarfRegNum(unsigned RegNum, bool IsEH) const;
};