Implement listeners.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Implement RCRef.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Convert primops to respect resource limits (using cmmMaybeAllocate).

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Convert nursery allocation to respect resource limits.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Convert stack overflow to respect resource limits.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Convert stack freezing to respect resource limits. [INCOMPLETE]

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Optimize nurseries of dead containers by truncating them.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Optimize clearNursery by shortcutting when first empty is found.

This can be backported to vanilla GHC, but the patch looks different.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
[FIXUP] N_CLOSURE_TYPES

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Disable stats department.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Always turn on debug symbols.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>