From 8480d7688a773d54c4776aeae1138b6b18f0736b Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 28 Jul 2003 15:57:40 +0000 Subject: [PATCH] [project @ 2003-07-28 15:57:40 by simonmar] TICK_UPD_CON_IN_NEW() in the update code is wrong now, because it could be a PAP, not just a CON. --- ghc/rts/Updates.hc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ghc/rts/Updates.hc b/ghc/rts/Updates.hc index b47b7c6..5965ea9 100644 --- a/ghc/rts/Updates.hc +++ b/ghc/rts/Updates.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Updates.hc,v 1.40 2003/05/14 09:14:00 simonmar Exp $ + * $Id: Updates.hc,v 1.41 2003/07/28 15:57:40 simonmar Exp $ * * (c) The GHC Team, 1998-2002 * @@ -56,9 +56,7 @@ /* remove the update frame from the stack */ \ Sp += sizeofW(StgUpdateFrame); \ \ - /* Tick - it must be a con, all the paps are handled \ - * in stg_upd_PAP and PAP_entry below \ - */ \ + /* ToDo: it might be a PAP, so we should check... */ \ TICK_UPD_CON_IN_NEW(sizeW_fromITBL(get_itbl(updatee))); \ \ UPD_SPEC_IND(updatee, ind_info, R1.cl, JMP_(ret)); \ -- 1.7.10.4