From 3ab98895bcfcf2917def44aa1d050e762c5faee0 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sat, 20 Dec 2014 00:07:09 +0000 Subject: [PATCH] Remove unused variable and initialization. llvm-svn: 224655 --- llvm/lib/Target/Mips/MipsFastISel.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llvm/lib/Target/Mips/MipsFastISel.cpp b/llvm/lib/Target/Mips/MipsFastISel.cpp index 2bb16e3..ff48144 100644 --- a/llvm/lib/Target/Mips/MipsFastISel.cpp +++ b/llvm/lib/Target/Mips/MipsFastISel.cpp @@ -59,7 +59,6 @@ class MipsFastISel final : public FastISel { /// Subtarget - Keep a pointer to the MipsSubtarget around so that we can /// make the right decision when generating code for different targets. - Module &M; const TargetMachine &TM; const TargetInstrInfo &TII; const TargetLowering &TLI; @@ -157,9 +156,7 @@ public: // Backend specific FastISel code. explicit MipsFastISel(FunctionLoweringInfo &funcInfo, const TargetLibraryInfo *libInfo) - : FastISel(funcInfo, libInfo), - M(const_cast(*funcInfo.Fn->getParent())), - TM(funcInfo.MF->getTarget()), + : FastISel(funcInfo, libInfo), TM(funcInfo.MF->getTarget()), TII(*TM.getSubtargetImpl()->getInstrInfo()), TLI(*TM.getSubtargetImpl()->getTargetLowering()), Subtarget(&TM.getSubtarget()) { -- 2.7.4