From ce55bf9cf5214b2e1f8f1ba05e48de8094fe9338 Mon Sep 17 00:00:00 2001 From: simonm Date: Mon, 15 Mar 1999 17:11:27 +0000 Subject: [PATCH] [project @ 1999-03-15 17:11:27 by simonm] Remove a couple of stgcasts. --- ghc/rts/StgStartup.hc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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! */ -- 1.7.10.4