diff options
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 450596e50d..388028334d 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -220,10 +220,12 @@ FastISel::SelectInstructions(BasicBlock::iterator Begin, } FastISel::FastISel(MachineFunction &mf) - : MF(mf), MRI(mf.getRegInfo()), - TD(*mf.getTarget().getTargetData()), - TII(*mf.getTarget().getInstrInfo()), - TLI(*mf.getTarget().getTargetLowering()) { + : MF(mf), + MRI(mf.getRegInfo()), + TM(mf.getTarget()), + TD(*TM.getTargetData()), + TII(*TM.getInstrInfo()), + TLI(*TM.getTargetLowering()) { } FastISel::~FastISel() {} |