[llvm] r227502 - Update comments to use unreachable instead of llvm.trap, as implemented now

Reid Kleckner reid at kleckner.net
Thu Jan 29 14:32:26 PST 2015


Author: rnk
Date: Thu Jan 29 16:32:26 2015
New Revision: 227502

URL: http://llvm.org/viewvc/llvm-project?rev=227502&view=rev
Log:
Update comments to use unreachable instead of llvm.trap, as implemented now

Modified:
    llvm/trunk/lib/CodeGen/WinEHPrepare.cpp

Modified: llvm/trunk/lib/CodeGen/WinEHPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/WinEHPrepare.cpp?rev=227502&r1=227501&r2=227502&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/WinEHPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/WinEHPrepare.cpp Thu Jan 29 16:32:26 2015
@@ -79,7 +79,7 @@ bool WinEHPrepare::runOnFunction(Functio
   if (!isMSVCPersonality(Pers))
     return DwarfPrepare->runOnFunction(Fn);
 
-  // FIXME: Cleanups are unimplemented. Replace them with calls to @llvm.trap.
+  // FIXME: Cleanups are unimplemented. Replace them with unreachable.
   if (Resumes.empty())
     return false;
 





More information about the llvm-commits mailing list