From: Bill Wendling Date: Thu, 12 Nov 2009 23:13:08 +0000 (+0000) Subject: Simplify code a bit X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ecc260e403d09ba04ed87d2d04226ac851c68e5a;p=oota-llvm.git Simplify code a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87040 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp index bb33b8e41d0..93cc012edce 100644 --- a/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -485,10 +485,9 @@ bool DwarfException::CallToNoUnwindFunction(const MachineInstr *MI) { MarkedNoUnwind = false; break; } - if (F->doesNotThrow()) { - SawFunc = true; - MarkedNoUnwind = true; - } + + MarkedNoUnwind = F->doesNotThrow(); + SawFunc = true; } } }