diff options
| author | Paul Eggert | 2020-08-30 23:40:11 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-08-31 00:05:56 -0700 |
| commit | aa1b586a1afaa88e5a9521a7640feefc2c12f009 (patch) | |
| tree | 34b35fb8c91558a14251326710651179cd431728 /src/alloc.c | |
| parent | 2ff930d861b772466b9f6b95d1776696298f3e0b (diff) | |
| download | emacs-aa1b586a1afaa88e5a9521a7640feefc2c12f009.tar.gz emacs-aa1b586a1afaa88e5a9521a7640feefc2c12f009.zip | |
Omit no-longer-needed stack mark_maybe_object
* src/alloc.c (mark_memory): Do not bother using mark_maybe_object
on the stack, since mark_maybe_pointer now marks everything that
mark_maybe_object would.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/alloc.c b/src/alloc.c index 78e0b5f60cc..e057107f98c 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4868,11 +4868,6 @@ mark_memory (void const *start, void const *end) | |||
| 4868 | intptr_t ip; | 4868 | intptr_t ip; |
| 4869 | INT_ADD_WRAPV ((intptr_t) p, (intptr_t) lispsym, &ip); | 4869 | INT_ADD_WRAPV ((intptr_t) p, (intptr_t) lispsym, &ip); |
| 4870 | mark_maybe_pointer ((void *) ip); | 4870 | mark_maybe_pointer ((void *) ip); |
| 4871 | |||
| 4872 | verify (alignof (Lisp_Object) % GC_POINTER_ALIGNMENT == 0); | ||
| 4873 | if (alignof (Lisp_Object) == GC_POINTER_ALIGNMENT | ||
| 4874 | || (uintptr_t) pp % alignof (Lisp_Object) == 0) | ||
| 4875 | mark_maybe_object (*(Lisp_Object const *) pp); | ||
| 4876 | } | 4871 | } |
| 4877 | } | 4872 | } |
| 4878 | 4873 | ||