mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 05:30:49 +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.
|
||||
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
|
||||
/// information in the current function.
|
||||
std::vector<LandingPadInfo> LandingPads;
|
||||
@ -247,15 +243,6 @@ public:
|
||||
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
|
||||
/// block when its address is taken. This cannot be its normal LBB label
|
||||
/// because the block may be accessed outside its containing function.
|
||||
|
@ -664,7 +664,6 @@ public:
|
||||
StringRef FileName);
|
||||
|
||||
virtual MCSymbol *getDwarfLineTableSymbol(unsigned CUID);
|
||||
virtual void EmitCompactUnwindEncoding(uint32_t CompactUnwindEncoding);
|
||||
virtual void EmitCFISections(bool EH, bool Debug);
|
||||
void EmitCFIStartProc(bool IsSimple);
|
||||
void EmitCFIEndProc();
|
||||
|
@ -708,9 +708,6 @@ void AsmPrinter::emitCFIInstruction(const MachineInstr &MI) {
|
||||
if (needsCFIMoves() == CFI_M_None)
|
||||
return;
|
||||
|
||||
if (MMI->getCompactUnwindEncoding() != 0)
|
||||
OutStreamer.EmitCompactUnwindEncoding(MMI->getCompactUnwindEncoding());
|
||||
|
||||
const MachineModuleInfo &MMI = MF->getMMI();
|
||||
const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions();
|
||||
unsigned CFIIndex = MI.getOperand(0).getCFIIndex();
|
||||
|
@ -270,7 +270,6 @@ MachineModuleInfo::~MachineModuleInfo() {
|
||||
bool MachineModuleInfo::doInitialization(Module &M) {
|
||||
|
||||
ObjFileMMI = nullptr;
|
||||
CompactUnwindEncoding = 0;
|
||||
CurCallSite = 0;
|
||||
CallsEHReturn = 0;
|
||||
CallsUnwindInit = 0;
|
||||
@ -312,7 +311,6 @@ void MachineModuleInfo::EndFunction() {
|
||||
FilterEnds.clear();
|
||||
CallsEHReturn = 0;
|
||||
CallsUnwindInit = 0;
|
||||
CompactUnwindEncoding = 0;
|
||||
VariableDbgInfos.clear();
|
||||
}
|
||||
|
||||
|
@ -222,12 +222,6 @@ void MCStreamer::EmitLabel(MCSymbol *Symbol) {
|
||||
TS->emitLabel(Symbol);
|
||||
}
|
||||
|
||||
void MCStreamer::EmitCompactUnwindEncoding(uint32_t CompactUnwindEncoding) {
|
||||
EnsureValidDwarfFrame();
|
||||
MCDwarfFrameInfo *CurFrame = getCurrentDwarfFrameInfo();
|
||||
CurFrame->CompactUnwindEncoding = CompactUnwindEncoding;
|
||||
}
|
||||
|
||||
void MCStreamer::EmitCFISections(bool EH, bool Debug) {
|
||||
assert(EH || Debug);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user