From e494eee55f10d78629aa191972b60bf67da1597d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 26 Aug 2002 07:37:19 +0000 Subject: [PATCH] (Fbyte_code): Fsub1 can GC, so protect it. --- src/bytecode.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bytecode.c b/src/bytecode.c index 82051779e8e..1ee5ae39557 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -1,5 +1,5 @@ /* Execution of byte code produced by bytecomp.el. - Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001 + Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1125,7 +1125,11 @@ If the third argument is incorrect, Emacs may crash. */) TOP = v1; } else - TOP = Fsub1 (v1); + { + BEFORE_POTENTIAL_GC (); + TOP = Fsub1 (v1); + AFTER_POTENTIAL_GC (); + } break; } -- 2.39.5