Skip to content
Snippets Groups Projects
Commit ec491e5f authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[project @ 2000-07-08 19:35:42 by panne]

After the last fix in PprAbs.ppr_amode, we now need a cast from
StgClosure* to P_ in UPD_FRAME_UPDATEE. I'm not sure if this is the
nicest way to fix this, CgCon.cgReturnDataCon is another candidate. It
looks a little bit like PrimRep distinguishes not enough between the
different kind of pointers (there's no alternative for L_).
parent f79dabfc
No related merge requests found
/* -----------------------------------------------------------------------------
* $Id: StgMacros.h,v 1.26 2000/06/08 12:54:29 simonmar Exp $
* $Id: StgMacros.h,v 1.27 2000/07/08 19:35:42 panne Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -452,7 +452,7 @@ EDI_(stg_gen_chk_info);
# define UPD_BH_SINGLE_ENTRY(thunk) /* nothing */
#endif /* EAGER_BLACKHOLING */
#define UPD_FRAME_UPDATEE(p) (((StgUpdateFrame *)(p))->updatee)
#define UPD_FRAME_UPDATEE(p) ((P_)(((StgUpdateFrame *)(p))->updatee))
#define UPDATE_SU_FROM_UPD_FRAME(p) (Su=((StgUpdateFrame *)(p))->link)
/* -----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment