From 7d71bf0b4e294a7cb62037aedd087519ead9ade8 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 23 Jul 2003 13:39:11 +0000 Subject: [PATCH] [project @ 2003-07-23 13:39:11 by simonmar] Fix egregious bug in the unregisterised case for RET_N, which was causing an unregisterised compiler to crash. --- ghc/rts/PrimOps.hc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/rts/PrimOps.hc b/ghc/rts/PrimOps.hc index f39768c..45717e5 100644 --- a/ghc/rts/PrimOps.hc +++ b/ghc/rts/PrimOps.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.hc,v 1.109 2003/07/12 00:08:28 sof Exp $ + * $Id: PrimOps.hc,v 1.110 2003/07/23 13:39:11 simonmar Exp $ * * (c) The GHC Team, 1998-2002 * @@ -188,7 +188,7 @@ StgWord GHC_ZCCReturnable_static_info[1]; #define PUSHED(m) Sp -= (m); JMP_(ENTRY_CODE(Sp[m])); # define RET_P(a) PUSH(1,a); PUSHED(1) -# define RET_N(a) PUSH(1,a); PUSHED(2) +# define RET_N(a) PUSH(1,a); PUSHED(1) # define RET_PP(a,b) PUSH(2,a); PUSH(1,b); PUSHED(2) # define RET_NN(a,b) PUSH(2,a); PUSH(1,b); PUSHED(2) -- 1.7.10.4