Simplify the logic. Noticed by aKor.

llvm-svn: 130116
This commit is contained in:
Rafael Espindola 2011-04-24 19:55:34 +00:00
parent 5c54ecc9af
commit a076199e71
1 changed files with 1 additions and 2 deletions

View File

@ -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()));