From: simonmar@microsoft.com Date: Fri, 23 Nov 2007 16:25:22 +0000 (+0000) Subject: oops, restore accidentally disabled hash-consing for Char X-Git-Tag: Before_cabalised-GHC~280 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8425e6e596bb9866d7dc6ab00488fdee154f9bfd oops, restore accidentally disabled hash-consing for Char --- diff --git a/rts/sm/Evac.c-inc b/rts/sm/Evac.c-inc index c7e43c3..477c061 100644 --- a/rts/sm/Evac.c-inc +++ b/rts/sm/Evac.c-inc @@ -353,7 +353,7 @@ loop: (StgClosure *)CHARLIKE_CLOSURE((StgChar)w) ); } - if (q->header.info == Izh_con_info && + else if (q->header.info == Izh_con_info && (StgInt)w >= MIN_INTLIKE && (StgInt)w <= MAX_INTLIKE) { *p = TAG_CLOSURE(tag, (StgClosure *)INTLIKE_CLOSURE((StgInt)w)