changeset 47035:58d2828adc19

(Fbyte_code): Fsub1 can GC, so protect it.
author Miles Bader <miles@gnu.org>
date Mon, 26 Aug 2002 07:37:19 +0000
parents 820cb95c5776
children 9d848dcc4b5d
files src/bytecode.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/bytecode.c	Mon Aug 26 01:10:46 2002 +0000
+++ b/src/bytecode.c	Mon Aug 26 07:37:19 2002 +0000
@@ -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 @@
 		TOP = v1;
 	      }
 	    else
-	      TOP = Fsub1 (v1);
+	      {
+		BEFORE_POTENTIAL_GC ();
+		TOP = Fsub1 (v1);
+		AFTER_POTENTIAL_GC ();
+	      }
 	    break;
 	  }