projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2005-02-28 17:01:13 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
RtsMessages.c
diff --git
a/ghc/rts/RtsMessages.c
b/ghc/rts/RtsMessages.c
index
60173c1
..
5df2fe4
100644
(file)
--- a/
ghc/rts/RtsMessages.c
+++ b/
ghc/rts/RtsMessages.c
@@
-46,6
+46,12
@@
vbarf(char *s, va_list ap)
stg_exit(EXIT_INTERNAL_ERROR); // just in case fatalInternalErrorFn() returns
}
+void
+_assertFail(char *filename, unsigned int linenum)
+{
+ barf("ASSERTION FAILED: file %s, line %u\n", filename, linenum);
+}
+
void
errorBelch(char *s, ...)
{