Have TargetSelectionDAGInfo take a DataLayout initializer rather than
[oota-llvm.git] / lib / Target / SystemZ / SystemZSelectionDAGInfo.cpp
index 97abee303b0956c7aa8796029f3d935c0d01e549..528227bd3c0ab5161b4b2d4323c4c99fa4880f11 100644 (file)
@@ -20,7 +20,7 @@ using namespace llvm;
 
 SystemZSelectionDAGInfo::
 SystemZSelectionDAGInfo(const SystemZTargetMachine &TM)
-  : TargetSelectionDAGInfo(TM) {
+  : TargetSelectionDAGInfo(TM.getDataLayout()) {
 }
 
 SystemZSelectionDAGInfo::~SystemZSelectionDAGInfo() {