From: Rafael Espindola Date: Sun, 24 Apr 2011 19:55:34 +0000 (+0000) Subject: Simplify the logic. Noticed by aKor. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e54e785be5ed4ca2022728e39128e27fe5face0c;p=oota-llvm.git Simplify the logic. Noticed by aKor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130116 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index d3a4ec592b1..70c0c8a82eb 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/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()));