Have MSP430SelectionDAGInfo constructor take a DataLayout rather

than a target machine since it doesn't need anything past the
DataLayout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2014-06-27 00:37:57 +00:00
parent 061b8c389c
commit 9fe7eae086
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ using namespace llvm;
#define DEBUG_TYPE "msp430-selectiondag-info"
MSP430SelectionDAGInfo::MSP430SelectionDAGInfo(const MSP430TargetMachine &TM)
: TargetSelectionDAGInfo(TM.getDataLayout()) {}
MSP430SelectionDAGInfo::MSP430SelectionDAGInfo(const DataLayout &DL)
: TargetSelectionDAGInfo(&DL) {}
MSP430SelectionDAGInfo::~MSP430SelectionDAGInfo() {
}