diff options
| author | Paul Eggert | 2012-04-07 12:18:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-07 12:18:52 -0700 |
| commit | e3fb2efb80ee8beebf7963228c4508496ebf24fa (patch) | |
| tree | a33a72f2745695e3e328a24ca8bbcd43bf8499d1 /src/s/gnu-linux.h | |
| parent | b5385551e363e616cc8bbe067d7a8b3587ac175e (diff) | |
| download | emacs-e3fb2efb80ee8beebf7963228c4508496ebf24fa.tar.gz emacs-e3fb2efb80ee8beebf7963228c4508496ebf24fa.zip | |
Avoid unnecessary pointer scanning in garbage collection (Bug#10780).
* alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro.
(mark_memory): Mark Lisp_Objects only if pointers might hide in
objects, as mark_maybe_pointer will catch them otherwise.
(GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed.
* s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index b54bd985e6b..c1233c0e6ce 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -146,9 +146,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 146 | || defined __ia64__ || defined __sh__ | 146 | || defined __ia64__ || defined __sh__ |
| 147 | #define GC_SETJMP_WORKS 1 | 147 | #define GC_SETJMP_WORKS 1 |
| 148 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 148 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 149 | #ifdef __mc68000__ | ||
| 150 | #define GC_LISP_OBJECT_ALIGNMENT 2 | ||
| 151 | #endif | ||
| 152 | #ifdef __ia64__ | 149 | #ifdef __ia64__ |
| 153 | #define GC_MARK_SECONDARY_STACK() \ | 150 | #define GC_MARK_SECONDARY_STACK() \ |
| 154 | do { \ | 151 | do { \ |