summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-19 20:32:16 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-19 20:32:16 +0000
commitd626d33246c897a10d40e01b8658fa05c36b1e5f (patch)
tree03a58eaa456b0f273e7d3d604151de71ab728eda /include
parentc896020dd8d6c2f25f5bf7eb9191fd4e72407015 (diff)
downloadllvm-d626d33246c897a10d40e01b8658fa05c36b1e5f.tar.gz
llvm-d626d33246c897a10d40e01b8658fa05c36b1e5f.tar.bz2
llvm-d626d33246c897a10d40e01b8658fa05c36b1e5f.tar.xz
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')
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h3
1 files changed, 1 insertions, 2 deletions
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<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.