From 836917992fb78f9eac97762cbe73af2302a7c63e Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Thu, 14 Jan 1999 14:35:04 +0000
Subject: [PATCH] [project @ 1999-01-14 14:35:04 by simonm] - fix stack check
 in PAP_entry.

---
 ghc/rts/Updates.hc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ghc/rts/Updates.hc b/ghc/rts/Updates.hc
index 012a88dab211..0fcd446a62cd 100644
--- a/ghc/rts/Updates.hc
+++ b/ghc/rts/Updates.hc
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Updates.hc,v 1.3 1999/01/13 17:25:49 simonm Exp $
+ * $Id: Updates.hc,v 1.4 1999/01/14 14:35:04 simonm Exp $
  *
  * Code to perform updates.
  *
@@ -173,7 +173,7 @@ STGFUN(PAP_entry)
   /* 
    * Check for stack overflow.
    */
-  STK_CHK(Words,PAP_entry,R2.p,1,);
+  STK_CHK(Words,PAP_entry,R1.p,1,);
   Sp -= Words;
 
   TICK_ENT_PAP(pap);
-- 
GitLab