diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-09-07 09:30:05 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-09-07 09:30:05 +0000 |
commit | a0be7e7ccd602efd9b7d35b3e0747a2c4f155ce9 (patch) | |
tree | 0dc30e8ddb227854de83fc9bc395cbc3285f34f2 /rts/Printer.c | |
parent | ddf8b805caafdfb5e3bbc3356aaed66af6f0b5e9 (diff) | |
download | haskell-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/Printer.c')
-rw-r--r-- | rts/Printer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/Printer.c b/rts/Printer.c index 36fdf7bda4..83afd48a50 100644 --- a/rts/Printer.c +++ b/rts/Printer.c @@ -133,8 +133,6 @@ printClosure( StgClosure *obj ) case CONSTR: case CONSTR_1_0: case CONSTR_0_1: case CONSTR_1_1: case CONSTR_0_2: case CONSTR_2_0: - case CONSTR_INTLIKE: - case CONSTR_CHARLIKE: case CONSTR_STATIC: case CONSTR_NOCAF_STATIC: { @@ -657,8 +655,6 @@ static char *closure_type_names[] = { "CONSTR_2", "CONSTR_1", "CONSTR_0", - "CONSTR_INTLIKE", - "CONSTR_CHARLIKE", "CONSTR_STATIC", "CONSTR_NOCAF_STATIC", "FUN", |