diff options
| author | Paul Eggert | 2013-01-11 21:21:06 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-11 21:21:06 -0800 |
| commit | 444b01bb49d94293d6514271b639ffa4928de640 (patch) | |
| tree | 1e3ab55f164649c3f501d7bf19523c926d8a595c /src | |
| parent | 96c421bba786c56792fa842f222d046e52074505 (diff) | |
| download | emacs-444b01bb49d94293d6514271b639ffa4928de640.tar.gz emacs-444b01bb49d94293d6514271b639ffa4928de640.zip | |
Enable conservative stack scanning for all architectures.
Suggested by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00183.html>.
* configure.ac (GC_MARK_STACK): Remove.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 22e0a188e4b..3b7af46fdde 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2217,8 +2217,12 @@ struct gcpro | |||
| 2217 | 2 Mark the stack, and check that everything GCPRO'd is | 2217 | 2 Mark the stack, and check that everything GCPRO'd is |
| 2218 | marked. | 2218 | marked. |
| 2219 | 3 Mark using GCPRO's, mark stack last, and count how many | 2219 | 3 Mark using GCPRO's, mark stack last, and count how many |
| 2220 | dead objects are kept alive. */ | 2220 | dead objects are kept alive. |
| 2221 | 2221 | ||
| 2222 | Formerly, method 0 was used. Currently, method 1 is used unless | ||
| 2223 | otherwise specified by hand when building, e.g., | ||
| 2224 | "make CPPFLAGS='-DGC_MARK_STACK=GC_USE_GCPROS_AS_BEFORE'". | ||
| 2225 | Methods 2 and 3 are present mainly to debug the transition from 0 to 1. */ | ||
| 2222 | 2226 | ||
| 2223 | #define GC_USE_GCPROS_AS_BEFORE 0 | 2227 | #define GC_USE_GCPROS_AS_BEFORE 0 |
| 2224 | #define GC_MAKE_GCPROS_NOOPS 1 | 2228 | #define GC_MAKE_GCPROS_NOOPS 1 |