Commit bb1cdf56 authored by Simon Marlow's avatar Simon Marlow
Browse files

we don't need OutOfHeapHook(), and the version in the RTS has a better message

parent d646207d
......@@ -38,15 +38,6 @@ defaultsHook (void)
#endif
}
void
OutOfHeapHook (unsigned long request_size/* always zero these days */,
unsigned long heap_size)
/* both in bytes */
{
fprintf(stderr, "GHC's heap exhausted: current limit is %lu bytes;\nUse the `-M<size>' option to increase the total heap size.\n",
heap_size);
}
void
StackOverflowHook (unsigned long stack_size) /* in bytes */
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment