projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1998-11-26 09:17:22 by sof]
[ghc-hetmet.git]
/
ghc
/
runtime
/
hooks
/
OutOfHeap.lc
diff --git
a/ghc/runtime/hooks/OutOfHeap.lc
b/ghc/runtime/hooks/OutOfHeap.lc
index
22d2b4a
..
8db9fa8
100644
(file)
--- a/
ghc/runtime/hooks/OutOfHeap.lc
+++ b/
ghc/runtime/hooks/OutOfHeap.lc
@@
-2,9
+2,7
@@
#include "rtsdefs.h"
void
#include "rtsdefs.h"
void
-OutOfHeapHook (request_size, heap_size)
- W_ request_size; /* in bytes */
- W_ heap_size; /* in bytes */
+OutOfHeapHook (W_ request_size, W_ heap_size) /* both sizes in bytes */
{
fprintf(stderr, "Heap exhausted;\nwhile trying to allocate %lu bytes in a %lu-byte heap;\nuse `+RTS -H<size>' to increase the total heap size.\n",
request_size,
{
fprintf(stderr, "Heap exhausted;\nwhile trying to allocate %lu bytes in a %lu-byte heap;\nuse `+RTS -H<size>' to increase the total heap size.\n",
request_size,