From 3053155652cf1d1c3f82f230fe62fd4c1c80b9d4 Mon Sep 17 00:00:00 2001 From: Aditya Nandakumar Date: Thu, 13 Nov 2014 21:29:21 +0000 Subject: We can get the TLOF from the TargetMachine - so constructor no longer requires TargetLoweringObjectFile to be passed. llvm-svn: 221926 --- llvm/lib/Target/XCore/XCoreISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/XCore') diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp index 5aff27bfe4b..96c43ae8ba9 100644 --- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp +++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp @@ -69,7 +69,7 @@ getTargetNodeName(unsigned Opcode) const } XCoreTargetLowering::XCoreTargetLowering(const TargetMachine &TM) - : TargetLowering(TM, TM.getObjFileLowering()), TM(TM), + : TargetLowering(TM), TM(TM), Subtarget(TM.getSubtarget()) { // Set up the register classes. -- cgit v1.2.3