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:
parent
40ee17ae6e
commit
4dfc056801
@ -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 {
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user