diff options
| author | Miles Bader <miles@gnu.org> | 2002-08-26 07:37:19 +0000 |
|---|---|---|
| committer | Miles Bader <miles@gnu.org> | 2002-08-26 07:37:19 +0000 |
| commit | e494eee55f10d78629aa191972b60bf67da1597d (patch) | |
| tree | 9f8d95947f157728a41cc324b724b652b2459991 /src/bytecode.c | |
| parent | 1ced831dcc52589548399df471d7767182a49a87 (diff) | |
(Fbyte_code): Fsub1 can GC, so protect it.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 8 |
1 files 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; } |
