mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Remove an always true argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e087f383e
commit
044302d718
@ -189,7 +189,7 @@ protected:
|
||||
virtual void EmitCFIStartProcImpl(MCDwarfFrameInfo &Frame);
|
||||
void RecordProcEnd(MCDwarfFrameInfo &Frame);
|
||||
virtual void EmitCFIEndProcImpl(MCDwarfFrameInfo &CurFrame);
|
||||
void EmitFrames(MCAsmBackend *MAB, bool usingCFI);
|
||||
void EmitFrames(MCAsmBackend *MAB);
|
||||
|
||||
MCWin64EHUnwindInfo *getCurrentW64UnwindInfo() {
|
||||
return CurrentW64UnwindInfo;
|
||||
|
@ -538,7 +538,7 @@ void MCELFStreamer::Flush() {
|
||||
}
|
||||
|
||||
void MCELFStreamer::FinishImpl() {
|
||||
EmitFrames(nullptr, true);
|
||||
EmitFrames(nullptr);
|
||||
|
||||
Flush();
|
||||
|
||||
|
@ -418,7 +418,7 @@ void MCMachOStreamer::EmitInstToData(const MCInst &Inst,
|
||||
}
|
||||
|
||||
void MCMachOStreamer::FinishImpl() {
|
||||
EmitFrames(&getAssembler().getBackend(), true);
|
||||
EmitFrames(&getAssembler().getBackend());
|
||||
|
||||
// We have to set the fragment atom associations so we can relax properly for
|
||||
// Mach-O.
|
||||
|
@ -615,15 +615,15 @@ void MCStreamer::EmitRawText(const Twine &T) {
|
||||
EmitRawTextImpl(T.toStringRef(Str));
|
||||
}
|
||||
|
||||
void MCStreamer::EmitFrames(MCAsmBackend *MAB, bool usingCFI) {
|
||||
void MCStreamer::EmitFrames(MCAsmBackend *MAB) {
|
||||
if (!getNumFrameInfos())
|
||||
return;
|
||||
|
||||
if (EmitEHFrame)
|
||||
MCDwarfFrameEmitter::Emit(*this, MAB, usingCFI, true);
|
||||
MCDwarfFrameEmitter::Emit(*this, MAB, true, true);
|
||||
|
||||
if (EmitDebugFrame)
|
||||
MCDwarfFrameEmitter::Emit(*this, MAB, usingCFI, false);
|
||||
MCDwarfFrameEmitter::Emit(*this, MAB, true, false);
|
||||
}
|
||||
|
||||
void MCStreamer::EmitW64Tables() {
|
||||
|
@ -32,7 +32,7 @@ void X86WinCOFFStreamer::EmitWin64EHHandlerData() {
|
||||
}
|
||||
|
||||
void X86WinCOFFStreamer::FinishImpl() {
|
||||
EmitFrames(nullptr, true);
|
||||
EmitFrames(nullptr);
|
||||
EmitW64Tables();
|
||||
|
||||
MCWinCOFFStreamer::FinishImpl();
|
||||
|
Loading…
Reference in New Issue
Block a user