Commit 8480d768 authored by simonmar's avatar simonmar
Browse files

[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.
parent ce136f8b
/* -----------------------------------------------------------------------------
* $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)); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment