[llvm-commits] [llvm] r87040 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Bill Wendling
isanbard at gmail.com
Thu Nov 12 15:13:08 PST 2009
Author: void
Date: Thu Nov 12 17:13:08 2009
New Revision: 87040
URL: http://llvm.org/viewvc/llvm-project?rev=87040&view=rev
Log:
Simplify code a bit
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=87040&r1=87039&r2=87040&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Thu Nov 12 17:13:08 2009
@@ -485,10 +485,9 @@
MarkedNoUnwind = false;
break;
}
- if (F->doesNotThrow()) {
- SawFunc = true;
- MarkedNoUnwind = true;
- }
+
+ MarkedNoUnwind = F->doesNotThrow();
+ SawFunc = true;
}
}
}
More information about the llvm-commits
mailing list