Commit 1ce57ec9 authored by Edward Z. Yang's avatar Edward Z. Yang

Closures must be zeroed even without LDV-profiling. Partially fixes #7747

Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <>
parent d6a6974f
......@@ -489,10 +489,6 @@ EXTERN_INLINE void overwritingClosure (StgClosure *p)
nat size, i;
#if defined(PROFILING)
if (era <= 0) return;
size = closure_sizeW(p);
// For LDV profiling, we need to record the closure as dead
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment