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/Sanity.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/Sanity.c')
-rw-r--r-- | rts/Sanity.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/Sanity.c b/rts/Sanity.c index 0e68a86ba7..33ec988106 100644 --- a/rts/Sanity.c +++ b/rts/Sanity.c @@ -307,8 +307,6 @@ checkClosure( StgClosure* p ) case STABLE_NAME: case MUT_VAR_CLEAN: case MUT_VAR_DIRTY: - case CONSTR_INTLIKE: - case CONSTR_CHARLIKE: case CONSTR_STATIC: case CONSTR_NOCAF_STATIC: case THUNK_STATIC: |