From: simonm Date: Mon, 15 Mar 1999 17:11:27 +0000 (+0000) Subject: [project @ 1999-03-15 17:11:27 by simonm] X-Git-Tag: Approximately_9120_patches~6388 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ce55bf9cf5214b2e1f8f1ba05e48de8094fe9338;p=ghc-hetmet.git [project @ 1999-03-15 17:11:27 by simonm] Remove a couple of stgcasts. --- diff --git a/ghc/rts/StgStartup.hc b/ghc/rts/StgStartup.hc index 6a87b1d..eae409b 100644 --- a/ghc/rts/StgStartup.hc +++ b/ghc/rts/StgStartup.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $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! */