Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/26e576c01a10053fe43920c3fa8dedf62707350a

>---------------------------------------------------------------

commit 26e576c01a10053fe43920c3fa8dedf62707350a
Author: Simon Marlow <marlo...@gmail.com>
Date:   Wed Oct 31 13:50:15 2012 +0000

    Fix bug in stg_ctoi_R1n (could cause GHCi crashes)

>---------------------------------------------------------------

 rts/StgMiscClosures.cmm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm
index 2985982..e6a30e6 100644
--- a/rts/StgMiscClosures.cmm
+++ b/rts/StgMiscClosures.cmm
@@ -127,7 +127,7 @@ INFO_TABLE_RET( stg_ctoi_R1n, RET_BCO )
 {
     Sp_adj(-2);
     Sp(1) = R1;
-    Sp(0) = stg_ret_p_info;
+    Sp(0) = stg_ret_n_info;
     jump stg_yield_to_interpreter [];
 }
 



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to