diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-06-19 20:32:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-06-19 20:32:16 +0000 |
commit | d626d33246c897a10d40e01b8658fa05c36b1e5f (patch) | |
tree | 03a58eaa456b0f273e7d3d604151de71ab728eda /include/llvm/CodeGen/FunctionLoweringInfo.h | |
parent | c896020dd8d6c2f25f5bf7eb9191fd4e72407015 (diff) | |
download | external_llvm-d626d33246c897a10d40e01b8658fa05c36b1e5f.zip external_llvm-d626d33246c897a10d40e01b8658fa05c36b1e5f.tar.gz external_llvm-d626d33246c897a10d40e01b8658fa05c36b1e5f.tar.bz2 |
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
Diffstat (limited to 'include/llvm/CodeGen/FunctionLoweringInfo.h')
-rw-r--r-- | include/llvm/CodeGen/FunctionLoweringInfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/FunctionLoweringInfo.h b/include/llvm/CodeGen/FunctionLoweringInfo.h index 206fef7..f1d8155 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<std::pair<MachineInstr*, unsigned> > 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. |