From d626d33246c897a10d40e01b8658fa05c36b1e5f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 19 Jun 2013 20:32:16 +0000 Subject: Don't cache the TLI object since we have access to it through TargetMachine already. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184346 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/FunctionLoweringInfo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/llvm/CodeGen/FunctionLoweringInfo.h b/include/llvm/CodeGen/FunctionLoweringInfo.h index 206fef7649..f1d815592f 100644 --- a/include/llvm/CodeGen/FunctionLoweringInfo.h +++ b/include/llvm/CodeGen/FunctionLoweringInfo.h @@ -50,7 +50,6 @@ class Value; /// class FunctionLoweringInfo { const TargetMachine &TM; - const TargetLowering *TLI; public: const Function *Fn; MachineFunction *MF; @@ -116,7 +115,7 @@ public: /// there's no other convenient place for it to live right now. std::vector > PHINodesToUpdate; - explicit FunctionLoweringInfo(const TargetMachine &TM); + explicit FunctionLoweringInfo(const TargetMachine &TM) : TM(TM) {} /// set - Initialize this FunctionLoweringInfo with the given Function /// and its associated MachineFunction. -- cgit v1.2.3