Skip to content
Snippets Groups Projects
Commit ce55bf9c authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-03-15 17:11:27 by simonm]

Remove a couple of stgcasts.
parent 2349db9a
No related merge requests found
/* -----------------------------------------------------------------------------
* $Id: StgStartup.hc,v 1.3 1999/02/05 16:03:00 simonm Exp $
* $Id: StgStartup.hc,v 1.4 1999/03/15 17:11:27 simonm Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -79,8 +79,8 @@ STGFUN(stg_stop_thread_entry)
/* Move Su just off the end of the stack, we're about to spam the
* STOP_FRAME with the return value.
*/
Su = stgCast(StgUpdateFrame*,Sp+1);
*stgCast(StgClosure**,Sp) = R1.cl;
Su = (StgUpdateFrame *)(Sp+1);
Sp[0] = R1.w;
SaveThreadState(); /* inline! */
......
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