mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
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:
@@ -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() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user