1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[Lanai] Remove dead functions from LanaiRegisterInfo

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

llvm-svn: 311531
This commit is contained in:
Alex Bradbury 2017-08-23 07:14:48 +00:00
parent 40ee17ae6e
commit 4dfc056801
2 changed files with 0 additions and 13 deletions

View File

@ -264,16 +264,6 @@ LanaiRegisterInfo::getFrameRegister(const MachineFunction & /*MF*/) const {
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 {

View File

@ -47,9 +47,6 @@ struct LanaiRegisterInfo : public LanaiGenRegisterInfo {
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;
};