From: simonmar Date: Mon, 28 Feb 2000 13:59:43 +0000 (+0000) Subject: [project @ 2000-02-28 13:59:43 by simonmar] X-Git-Tag: Approximately_9120_patches~5087 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=187e9eb5708fa2a751a4b1f8abf54ff93d7049d6;p=ghc-hetmet.git [project @ 2000-02-28 13:59:43 by simonmar] Only fill in the ARG_TAG when DEBUG is on, for unregisterised. --- diff --git a/ghc/rts/PrimOps.hc b/ghc/rts/PrimOps.hc index d837ad5..709947a 100644 --- a/ghc/rts/PrimOps.hc +++ b/ghc/rts/PrimOps.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: PrimOps.hc,v 1.42 2000/02/25 15:07:09 simonmar Exp $ + * $Id: PrimOps.hc,v 1.43 2000/02/28 13:59:43 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -183,7 +183,13 @@ W_ GHC_ZCCReturnable_static_info[0]; #else /* 0 Regs available */ #define PUSH_P(o,x) Sp[-o] = (W_)(x) + +#ifdef DEBUG #define PUSH_N(o,x) Sp[1-o] = (W_)(x); Sp[-o] = ARG_TAG(1); +#else +#define PUSH_N(o,x) Sp[1-o] = (W_)(x); +#endif + #define PUSHED(m) Sp -= (m); JMP_(ENTRY_CODE(Sp[m])); /* Here's how to construct these macros: