Author: mrs
Date: Wed Dec  2 02:18:09 2009
New Revision: 90308

URL: http://llvm.org/viewvc/llvm-project?rev=90308&view=rev
Log:
terminate doesn't throw.

Modified:
    cfe/trunk/lib/CodeGen/CGException.cpp

Modified: cfe/trunk/lib/CodeGen/CGException.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGException.cpp?rev=90308&r1=90307&r2=90308&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGException.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGException.cpp Wed Dec  2 02:18:09 2009
@@ -440,6 +440,7 @@
       llvm::CallInst *TerminateCall = 
         Builder.CreateCall(getTerminateFn(*this));
       TerminateCall->setDoesNotReturn();
+      TerminateCall->setDoesNotThrow();
       Builder.CreateUnreachable();
 
       // Clear the insertion point to indicate we are in unreachable code.


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to