mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Simplify the logic. Noticed by aKor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -128,8 +128,7 @@ void DwarfCFIException::BeginFunction(const MachineFunction *MF) {
|
|||||||
void DwarfCFIException::EndFunction() {
|
void DwarfCFIException::EndFunction() {
|
||||||
if (!shouldEmitMoves && !shouldEmitTable) return;
|
if (!shouldEmitMoves && !shouldEmitTable) return;
|
||||||
|
|
||||||
if (shouldEmitMoves || shouldEmitTable)
|
Asm->OutStreamer.EmitCFIEndProc();
|
||||||
Asm->OutStreamer.EmitCFIEndProc();
|
|
||||||
|
|
||||||
Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end",
|
Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end",
|
||||||
Asm->getFunctionNumber()));
|
Asm->getFunctionNumber()));
|
||||||
|
Reference in New Issue
Block a user