diff options
| author | Miles Bader | 2002-08-26 07:37:19 +0000 |
|---|---|---|
| committer | Miles Bader | 2002-08-26 07:37:19 +0000 |
| commit | e494eee55f10d78629aa191972b60bf67da1597d (patch) | |
| tree | 9f8d95947f157728a41cc324b724b652b2459991 /src/bytecode.c | |
| parent | 1ced831dcc52589548399df471d7767182a49a87 (diff) | |
| download | emacs-e494eee55f10d78629aa191972b60bf67da1597d.tar.gz emacs-e494eee55f10d78629aa191972b60bf67da1597d.zip | |
(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 @@ | |||
| 1 | /* Execution of byte code produced by bytecomp.el. | 1 | /* Execution of byte code produced by bytecomp.el. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001 | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001, 2002 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -1125,7 +1125,11 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 1125 | TOP = v1; | 1125 | TOP = v1; |
| 1126 | } | 1126 | } |
| 1127 | else | 1127 | else |
| 1128 | TOP = Fsub1 (v1); | 1128 | { |
| 1129 | BEFORE_POTENTIAL_GC (); | ||
| 1130 | TOP = Fsub1 (v1); | ||
| 1131 | AFTER_POTENTIAL_GC (); | ||
| 1132 | } | ||
| 1129 | break; | 1133 | break; |
| 1130 | } | 1134 | } |
| 1131 | 1135 | ||