]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fbyte_code): Fsub1 can GC, so protect it.
authorMiles Bader <miles@gnu.org>
Mon, 26 Aug 2002 07:37:19 +0000 (07:37 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 26 Aug 2002 07:37:19 +0000 (07:37 +0000)
src/bytecode.c

index 82051779e8e4df72ede26af63d7390162a6a8e97..1ee5ae395578235afeb7caec5a2316bfad0b115d 100644 (file)
@@ -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;
          }