[project @ 2005-02-16 11:33:44 by simonmar]
authorsimonmar <unknown>
Wed, 16 Feb 2005 11:33:44 +0000 (11:33 +0000)
committersimonmar <unknown>
Wed, 16 Feb 2005 11:33:44 +0000 (11:33 +0000)
wibble to previous... (*fatalInternalErrorFn)() is not expected to return.

ghc/rts/RtsMessages.c

index b8fed78..5df2fe4 100644 (file)
@@ -49,16 +49,7 @@ vbarf(char *s, va_list ap)
 void 
 _assertFail(char *filename, unsigned int linenum)
 {
-    internalErrorBelch("ASSERTION FAILED: file %s, line %u\n", filename, linenum);
-    abort();
-}
-
-internalErrorBelch(char *s, ...)
-{
-  va_list ap;
-  va_start(ap,s);
-  (*fatalInternalErrorFn)(s,ap);
-  va_end(ap);
+    barf("ASSERTION FAILED: file %s, line %u\n", filename, linenum);
 }
 
 void