Commit 7d71bf0b authored by simonmar's avatar simonmar
Browse files

[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.
parent 9bb32dd2
/* -----------------------------------------------------------------------------
* $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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment