projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redesign 64-bit HEAP_ALLOCED (FIX #2934 at the same time)
[ghc-hetmet.git]
/
rts
/
Main.c
diff --git
a/rts/Main.c
b/rts/Main.c
index
434f791
..
aff3011
100644
(file)
--- a/
rts/Main.c
+++ b/
rts/Main.c
@@
-126,6
+126,9
@@
static void real_main(void)
errorBelch("interrupted");
exit_status = EXIT_INTERRUPTED;
break;
errorBelch("interrupted");
exit_status = EXIT_INTERRUPTED;
break;
+ case HeapExhausted:
+ exit_status = EXIT_HEAPOVERFLOW;
+ break;
case Success:
exit_status = EXIT_SUCCESS;
break;
case Success:
exit_status = EXIT_SUCCESS;
break;