mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Move a function out-of-line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
03236be44a
commit
4ae970b393
@ -20,6 +20,7 @@
|
||||
#include "llvm/Target/TargetRegisterInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
template <typename T> class ArrayRef;
|
||||
class MCSection;
|
||||
class MCContext;
|
||||
class MachineFunction;
|
||||
@ -84,10 +85,8 @@ public:
|
||||
return TLOF->isFunctionEHFrameSymbolPrivate();
|
||||
}
|
||||
|
||||
int getCompactUnwindEncoding(const std::vector<MCCFIInstruction> &Instrs,
|
||||
int DataAlignmentFactor, bool IsEH) const {
|
||||
return TFI->getCompactUnwindEncoding(Instrs, DataAlignmentFactor, IsEH);
|
||||
}
|
||||
int getCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs,
|
||||
int DataAlignmentFactor, bool IsEH) const;
|
||||
|
||||
const unsigned *getCalleeSavedRegs(MachineFunction *MF = 0) const {
|
||||
return TRI->getCalleeSavedRegs(MF);
|
||||
|
@ -26,3 +26,9 @@ 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
Block a user