X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStgMiscClosures.hc;h=13a8809a9b2c0b420cc937c3a35fb2283a11a595;hb=e390fbac3cc1ce7562e26459d2a1e91893a282cd;hp=38f66c66cda5a158254cb698d222b3cf69d5e9be;hpb=542dd0c2a980156cd6dbdc07e3443c9dc0e7b421;p=ghc-hetmet.git diff --git a/ghc/rts/StgMiscClosures.hc b/ghc/rts/StgMiscClosures.hc index 38f66c6..13a8809 100644 --- a/ghc/rts/StgMiscClosures.hc +++ b/ghc/rts/StgMiscClosures.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMiscClosures.hc,v 1.77 2002/07/18 06:05:30 sof Exp $ + * $Id: StgMiscClosures.hc,v 1.80 2002/09/17 12:34:31 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -36,14 +36,12 @@ Template for the entry code of non-enterable closures. */ -#define NON_ENTERABLE_ENTRY_CODE(type) \ -STGFUN(stg_##type##_entry) \ -{ \ - FB_ \ - DUMP_ERRMSG(#type " object entered!\n"); \ - STGCALL1(shutdownHaskellAndExit, EXIT_FAILURE); \ - return NULL; \ - FE_ \ +#define NON_ENTERABLE_ENTRY_CODE(type) \ +STGFUN(stg_##type##_entry) \ +{ \ + FB_ \ + STGCALL1(barf, #type " object entered!\n"); \ + FE_ \ } @@ -629,7 +627,7 @@ STGFUN(stg_SE_BLACKHOLE_entry) FE_ } -INFO_TABLE(SE_CAF_BLACKHOLE_info, SE_CAF_BLACKHOLE_entry,0,2,SE_CAF_BLACKHOLE,,EF_,"CAF_BLACKHOLE","CAF_BLACKHOLE"); +INFO_TABLE(stg_SE_CAF_BLACKHOLE_info, SE_CAF_BLACKHOLE_entry,0,2,SE_CAF_BLACKHOLE,,EF_,"CAF_BLACKHOLE","CAF_BLACKHOLE"); STGFUN(stg_SE_CAF_BLACKHOLE_entry) { FB_