diff src/bytecode.c @ 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 99d1224dfe6c
children a32b154ea162 d7ddb3e565de
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;
 	  }