From a076199e714c201ddc38f9a0c110adcb4086e3f4 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 24 Apr 2011 19:55:34 +0000 Subject: Simplify the logic. Noticed by aKor. llvm-svn: 130116 --- llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index d3a4ec592b1..70c0c8a82eb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp @@ -128,8 +128,7 @@ void DwarfCFIException::BeginFunction(const MachineFunction *MF) { void DwarfCFIException::EndFunction() { if (!shouldEmitMoves && !shouldEmitTable) return; - if (shouldEmitMoves || shouldEmitTable) - Asm->OutStreamer.EmitCFIEndProc(); + Asm->OutStreamer.EmitCFIEndProc(); Asm->OutStreamer.EmitLabel(Asm->GetTempSymbol("eh_func_end", Asm->getFunctionNumber())); -- cgit v1.2.3