diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-24 19:55:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-24 19:55:34 +0000 |
commit | e54e785be5ed4ca2022728e39128e27fe5face0c (patch) | |
tree | 2e7b266998ea3e63d2df2f0ee9228890e1af7205 /lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | |
parent | 7ed673244784e16cac58d69e5a7010fda8fe92bd (diff) | |
download | external_llvm-e54e785be5ed4ca2022728e39128e27fe5face0c.zip external_llvm-e54e785be5ed4ca2022728e39128e27fe5face0c.tar.gz external_llvm-e54e785be5ed4ca2022728e39128e27fe5face0c.tar.bz2 |
Simplify the logic. Noticed by aKor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCFIException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index d3a4ec5..70c0c8a 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())); |