Fix bug in stg_ctoi_R1n (could cause GHCi crashes)
authorSimon Marlow <marlowsd@gmail.com>
Wed, 31 Oct 2012 13:50:15 +0000 (13:50 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 1 Nov 2012 10:13:17 +0000 (10:13 +0000)
rts/StgMiscClosures.cmm

index 2985982..e6a30e6 100644 (file)
@@ -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 [];
 }