From b8c922bd8a78966891c6b03f4cf52a490004e979 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 15 Dec 1992 20:37:46 +0000 Subject: [PATCH] Turn off stack-overflow interrupt in both WITHIN-CONTINUATION and CALL-WITH-CURRENT-CONTINUATION, since they eliminate the condition. --- v7/src/microcode/hooks.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/hooks.c b/v7/src/microcode/hooks.c index c97df8cda..3f60e280c 100644 --- a/v7/src/microcode/hooks.c +++ b/v7/src/microcode/hooks.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: hooks.c,v 9.47 1992/11/25 06:27:09 gjr Exp $ +$Id: hooks.c,v 9.48 1992/12/15 20:37:46 cph Exp $ Copyright (c) 1988-1992 Massachusetts Institute of Technology @@ -296,6 +296,7 @@ DEFUN (CWCC, (return_code, reuse_flag, receiver), } if (Consistency_Check && (Stack_Pointer != Stack_Top)) Microcode_Termination (TERM_BAD_STACK); + CLEAR_INTERRUPT (INT_Stack_Overflow); STACK_RESET (); Will_Push (CONTINUATION_SIZE); Store_Return (RC_JOIN_STACKLETS); @@ -375,6 +376,7 @@ DEFINE_PRIMITIVE ("WITHIN-CONTROL-POINT", Prim_within_control_point, 2, 2, /* This KNOWS the direction of stack growth. */ Stack_Pointer = (Get_End_Of_Stacklet ()); + CLEAR_INTERRUPT (INT_Stack_Overflow); Will_Push (CONTINUATION_SIZE); Store_Expression (control_point); -- 2.25.1