[llvm-commits] [dragonegg] r128774 - /dragonegg/trunk/Internals.h

Duncan Sands baldrick at free.fr
Sat Apr 2 10:14:47 PDT 2011


Author: baldrick
Date: Sat Apr  2 12:14:46 2011
New Revision: 128774

URL: http://llvm.org/viewvc/llvm-project?rev=128774&view=rev
Log:
Add comment describing this method.

Modified:
    dragonegg/trunk/Internals.h

Modified: dragonegg/trunk/Internals.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Internals.h?rev=128774&r1=128773&r2=128774&view=diff
==============================================================================
--- dragonegg/trunk/Internals.h (original)
+++ dragonegg/trunk/Internals.h Sat Apr  2 12:14:46 2011
@@ -110,15 +110,15 @@
 
 extern Constant* ConvertMetadataStringToGV(const char *str);
 
+/// DieAbjectly - An unrecoverable fatal error occurred - throw in the towel,
+/// give up the ghost, quit miserably.
 inline void DieAbjectly(const char *Message) {
   llvm_unreachable(Message);
 }
-
 inline void DieAbjectly(const char *Message, union gimple_statement_d *stmt) {
   if (stmt) debug_gimple_stmt(stmt);
   DieAbjectly(Message);
 }
-
 inline void DieAbjectly(const char *Message, union tree_node *exp) {
   if (exp) debug_tree(exp);
   DieAbjectly(Message);





More information about the llvm-commits mailing list