mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 17:38:39 +00:00
Delete dead code. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d15a2441b
commit
607e03b0d4
@ -110,10 +110,6 @@ class MachineModuleInfo : public ImmutablePass {
|
|||||||
/// by debug and exception handling consumers.
|
/// by debug and exception handling consumers.
|
||||||
std::vector<MCCFIInstruction> FrameInstructions;
|
std::vector<MCCFIInstruction> FrameInstructions;
|
||||||
|
|
||||||
/// CompactUnwindEncoding - If the target supports it, this is the compact
|
|
||||||
/// unwind encoding. It replaces a function's CIE and FDE.
|
|
||||||
uint32_t CompactUnwindEncoding;
|
|
||||||
|
|
||||||
/// LandingPads - List of LandingPadInfo describing the landing pad
|
/// LandingPads - List of LandingPadInfo describing the landing pad
|
||||||
/// information in the current function.
|
/// information in the current function.
|
||||||
std::vector<LandingPadInfo> LandingPads;
|
std::vector<LandingPadInfo> LandingPads;
|
||||||
@ -247,15 +243,6 @@ public:
|
|||||||
return FrameInstructions.size() - 1;
|
return FrameInstructions.size() - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getCompactUnwindEncoding - Returns the compact unwind encoding for a
|
|
||||||
/// function if the target supports the encoding. This encoding replaces a
|
|
||||||
/// function's CIE and FDE.
|
|
||||||
uint32_t getCompactUnwindEncoding() const { return CompactUnwindEncoding; }
|
|
||||||
|
|
||||||
/// setCompactUnwindEncoding - Set the compact unwind encoding for a function
|
|
||||||
/// if the target supports the encoding.
|
|
||||||
void setCompactUnwindEncoding(uint32_t Enc) { CompactUnwindEncoding = Enc; }
|
|
||||||
|
|
||||||
/// getAddrLabelSymbol - Return the symbol to be used for the specified basic
|
/// getAddrLabelSymbol - Return the symbol to be used for the specified basic
|
||||||
/// block when its address is taken. This cannot be its normal LBB label
|
/// block when its address is taken. This cannot be its normal LBB label
|
||||||
/// because the block may be accessed outside its containing function.
|
/// because the block may be accessed outside its containing function.
|
||||||
|
@ -664,7 +664,6 @@ public:
|
|||||||
StringRef FileName);
|
StringRef FileName);
|
||||||
|
|
||||||
virtual MCSymbol *getDwarfLineTableSymbol(unsigned CUID);
|
virtual MCSymbol *getDwarfLineTableSymbol(unsigned CUID);
|
||||||
virtual void EmitCompactUnwindEncoding(uint32_t CompactUnwindEncoding);
|
|
||||||
virtual void EmitCFISections(bool EH, bool Debug);
|
virtual void EmitCFISections(bool EH, bool Debug);
|
||||||
void EmitCFIStartProc(bool IsSimple);
|
void EmitCFIStartProc(bool IsSimple);
|
||||||
void EmitCFIEndProc();
|
void EmitCFIEndProc();
|
||||||
|
@ -708,9 +708,6 @@ void AsmPrinter::emitCFIInstruction(const MachineInstr &MI) {
|
|||||||
if (needsCFIMoves() == CFI_M_None)
|
if (needsCFIMoves() == CFI_M_None)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (MMI->getCompactUnwindEncoding() != 0)
|
|
||||||
OutStreamer.EmitCompactUnwindEncoding(MMI->getCompactUnwindEncoding());
|
|
||||||
|
|
||||||
const MachineModuleInfo &MMI = MF->getMMI();
|
const MachineModuleInfo &MMI = MF->getMMI();
|
||||||
const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions();
|
const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions();
|
||||||
unsigned CFIIndex = MI.getOperand(0).getCFIIndex();
|
unsigned CFIIndex = MI.getOperand(0).getCFIIndex();
|
||||||
|
@ -270,7 +270,6 @@ MachineModuleInfo::~MachineModuleInfo() {
|
|||||||
bool MachineModuleInfo::doInitialization(Module &M) {
|
bool MachineModuleInfo::doInitialization(Module &M) {
|
||||||
|
|
||||||
ObjFileMMI = nullptr;
|
ObjFileMMI = nullptr;
|
||||||
CompactUnwindEncoding = 0;
|
|
||||||
CurCallSite = 0;
|
CurCallSite = 0;
|
||||||
CallsEHReturn = 0;
|
CallsEHReturn = 0;
|
||||||
CallsUnwindInit = 0;
|
CallsUnwindInit = 0;
|
||||||
@ -312,7 +311,6 @@ void MachineModuleInfo::EndFunction() {
|
|||||||
FilterEnds.clear();
|
FilterEnds.clear();
|
||||||
CallsEHReturn = 0;
|
CallsEHReturn = 0;
|
||||||
CallsUnwindInit = 0;
|
CallsUnwindInit = 0;
|
||||||
CompactUnwindEncoding = 0;
|
|
||||||
VariableDbgInfos.clear();
|
VariableDbgInfos.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,12 +222,6 @@ void MCStreamer::EmitLabel(MCSymbol *Symbol) {
|
|||||||
TS->emitLabel(Symbol);
|
TS->emitLabel(Symbol);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MCStreamer::EmitCompactUnwindEncoding(uint32_t CompactUnwindEncoding) {
|
|
||||||
EnsureValidDwarfFrame();
|
|
||||||
MCDwarfFrameInfo *CurFrame = getCurrentDwarfFrameInfo();
|
|
||||||
CurFrame->CompactUnwindEncoding = CompactUnwindEncoding;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MCStreamer::EmitCFISections(bool EH, bool Debug) {
|
void MCStreamer::EmitCFISections(bool EH, bool Debug) {
|
||||||
assert(EH || Debug);
|
assert(EH || Debug);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user