Have TargetSelectionDAGInfo take a DataLayout initializer rather than
[oota-llvm.git] / lib / Target / XCore / XCoreSelectionDAGInfo.cpp
index 5a6bbe7b1d3efa09253fa167cf93ee08f35a9ec4..b72c520d84a5e00170b603057e3bdcdf16c09ca2 100644 (file)
@@ -17,8 +17,7 @@ using namespace llvm;
 #define DEBUG_TYPE "xcore-selectiondag-info"
 
 XCoreSelectionDAGInfo::XCoreSelectionDAGInfo(const XCoreTargetMachine &TM)
-  : TargetSelectionDAGInfo(TM) {
-}
+    : TargetSelectionDAGInfo(TM.getDataLayout()) {}
 
 XCoreSelectionDAGInfo::~XCoreSelectionDAGInfo() {
 }