summaryrefslogtreecommitdiff
path: root/includes/rts/storage/ClosureMacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/storage/ClosureMacros.h')
-rw-r--r--includes/rts/storage/ClosureMacros.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/rts/storage/ClosureMacros.h b/includes/rts/storage/ClosureMacros.h
index f5ca5cd850..90198f20e8 100644
--- a/includes/rts/storage/ClosureMacros.h
+++ b/includes/rts/storage/ClosureMacros.h
@@ -421,12 +421,6 @@ closure_sizeW_ (const StgClosure *p, const StgInfoTable *info)
return bco_sizeW((StgBCO *)p);
case TREC_CHUNK:
return sizeofW(StgTRecChunk);
- case COMPACT_NFDATA:
- // Nothing should ever call closure_sizeW() on a StgCompactNFData
- // because CompactNFData is a magical object/list-of-objects that
- // requires special paths pretty much everywhere in the GC
- barf("closure_sizeW() called on a StgCompactNFData. "
- "This should never happen.");
default:
return sizeW_fromITBL(info);
}