diff options
| author | Stefan Monnier | 2000-12-07 12:00:51 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-12-07 12:00:51 +0000 |
| commit | 2003532193f74648fd709e36efe1bd83fdd66473 (patch) | |
| tree | 3267e8ddd537eb9b344a140eb43e2a2446ed4879 /src/alloc.c | |
| parent | 724a330fe4286ad0d0c58bd97d1403a85464180d (diff) | |
| download | emacs-2003532193f74648fd709e36efe1bd83fdd66473.tar.gz emacs-2003532193f74648fd709e36efe1bd83fdd66473.zip | |
(gc_sweep): Add comment.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 83007657e20..eba9d867c8c 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4774,6 +4774,9 @@ gc_sweep () | |||
| 4774 | 4774 | ||
| 4775 | for (; sym < end; ++sym) | 4775 | for (; sym < end; ++sym) |
| 4776 | { | 4776 | { |
| 4777 | /* Check if the symbol was created during loadup. In such a case | ||
| 4778 | it might be pointed to by pure bytecode which we don't trace, | ||
| 4779 | so we conservatively assume that it is live. */ | ||
| 4777 | int pure_p = PURE_POINTER_P (sym->name); | 4780 | int pure_p = PURE_POINTER_P (sym->name); |
| 4778 | 4781 | ||
| 4779 | if (!XMARKBIT (sym->plist) && !pure_p) | 4782 | if (!XMARKBIT (sym->plist) && !pure_p) |