From 1aea8bc7ba9bbb9ce32f6ab2d997deb56871bf56 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Thu, 20 May 1993 13:43:21 +0000 Subject: [PATCH] In the gengc system, make without-gcing be the same as without-interrupts. --- code/sysmacs.lisp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/sysmacs.lisp b/code/sysmacs.lisp index ba514f065..9ec1b2964 100644 --- a/code/sysmacs.lisp +++ b/code/sysmacs.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sysmacs.lisp,v 1.12 1993/02/26 08:26:19 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sysmacs.lisp,v 1.13 1993/05/20 13:43:21 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -53,7 +53,7 @@ (declare (ignorable ,offset-var)) ,@forms))) - +#-gengc (defmacro without-gcing (&rest body) "Executes the forms in the body without doing a garbage collection." `(unwind-protect @@ -62,6 +62,11 @@ (when (and *need-to-collect-garbage* (not *gc-inhibit*)) (maybe-gc nil)))) +#+gengc +(defmacro without-gcing (&rest body) + "Executes the forms in the body without doing a garbage collection." + `(without-interrupts ,@body)) + (defvar hi::*in-the-editor* nil) (defmacro without-hemlock (&body body) -- GitLab