From: Simon Dardis Date: Thu, 29 Mar 2018 09:21:20 +0000 (+0000) Subject: [Mips] Remove dead code X-Git-Tag: llvmorg-7.0.0-rc1~9410 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32a27fc77a5b1e1aa8648f83f80132d125a82498;p=platform%2Fupstream%2Fllvm.git [Mips] Remove dead code I believe the role of ehDataReg has been replaced by MipsABIInfo::GetEhDataReg, thus removing the dead code. Patch By: Wei-Ren Chen. Reviewers: ehostunreach, sdardis Differential Revision: https://reviews.llvm.org/D44867 llvm-svn: 328767 --- diff --git a/llvm/lib/Target/Mips/MipsSEFrameLowering.h b/llvm/lib/Target/Mips/MipsSEFrameLowering.h index de8e6ee..cb2119d 100644 --- a/llvm/lib/Target/Mips/MipsSEFrameLowering.h +++ b/llvm/lib/Target/Mips/MipsSEFrameLowering.h @@ -40,7 +40,6 @@ public: void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, RegScavenger *RS) const override; - unsigned ehDataReg(unsigned I) const; private: void emitInterruptEpilogueStub(MachineFunction &MF,