mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Move some parts of TargetAsmInfo down to MCAsmInfo. This is not the greatest
solution but it is a small step towards removing the horror that is TargetAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,12 +17,7 @@ using namespace llvm;
|
||||
|
||||
TargetAsmInfo::TargetAsmInfo(const TargetMachine &TM) {
|
||||
TLOF = &TM.getTargetLowering()->getObjFileLowering();
|
||||
const TargetData &TD = *TM.getTargetData();
|
||||
IsLittleEndian = TD.isLittleEndian();
|
||||
PointerSize = TD.getPointerSize();
|
||||
|
||||
TFI = TM.getFrameLowering();
|
||||
StackDir = TFI->getStackGrowthDirection();
|
||||
TRI = TM.getRegisterInfo();
|
||||
TFI->getInitialFrameState(InitialFrameState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user