summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-09-07 09:30:05 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-09-07 09:30:05 +0000
commita0be7e7ccd602efd9b7d35b3e0747a2c4f155ce9 (patch)
tree0dc30e8ddb227854de83fc9bc395cbc3285f34f2 /rts/ProfHeap.c
parentddf8b805caafdfb5e3bbc3356aaed66af6f0b5e9 (diff)
downloadhaskell-a0be7e7ccd602efd9b7d35b3e0747a2c4f155ce9.tar.gz
Remove CONSTR_CHARLIKE and CONSTR_INTLIKE closure types
These closure types aren't used/needed, as far as I can tell. The commoning up of Chars/Ints happens by comparing info pointers, and the info table for a dynamic C#/I# is CONSTR_0_1. The RTS seemed a little confused about whether CONSTR_CHARLIKE/CONSTR_INTLIKE were supposed to be static or dynamic closures, too.
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r--rts/ProfHeap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 312bee735c..8f4c8baa2f 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -114,8 +114,6 @@ static void dumpCensus( Census *census );
static char *type_names[] = {
"INVALID_OBJECT"
, "CONSTR"
- , "CONSTR_INTLIKE"
- , "CONSTR_CHARLIKE"
, "CONSTR_STATIC"
, "CONSTR_NOCAF_STATIC"
@@ -905,8 +903,6 @@ heapCensusChain( Census *census, bdescr *bd )
case SE_CAF_BLACKHOLE:
case SE_BLACKHOLE:
case BLACKHOLE:
- case CONSTR_INTLIKE:
- case CONSTR_CHARLIKE:
case FUN_1_0:
case FUN_0_1:
case FUN_1_1: