forked from OSchip/llvm-project
There is a cyclic dependency between MC and Target if this method is out-of-line.
llvm-svn: 135006
This commit is contained in:
parent
ef1c6845ae
commit
5d11676eef
|
@ -86,7 +86,10 @@ public:
|
|||
}
|
||||
|
||||
int getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
|
||||
int DataAlignmentFactor, bool IsEH) const;
|
||||
int DataAlignmentFactor,
|
||||
bool IsEH) const {
|
||||
return TFI->getCompactUnwindEncoding(Instrs, DataAlignmentFactor, IsEH);
|
||||
}
|
||||
|
||||
const unsigned *getCalleeSavedRegs(MachineFunction *MF = 0) const {
|
||||
return TRI->getCalleeSavedRegs(MF);
|
||||
|
|
|
@ -26,9 +26,3 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &TM) {
|
|||
TRI = TM.getRegisterInfo();
|
||||
TFI->getInitialFrameState(InitialFrameState);
|
||||
}
|
||||
|
||||
int TargetAsmInfo::getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
|
||||
int DataAlignmentFactor,
|
||||
bool IsEH) const {
|
||||
return TFI->getCompactUnwindEncoding(Instrs, DataAlignmentFactor, IsEH);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue