[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master aa1b586 2/6: Omit no-longer-needed stack mark_maybe_object
From: |
Paul Eggert |
Subject: |
master aa1b586 2/6: Omit no-longer-needed stack mark_maybe_object |
Date: |
Mon, 31 Aug 2020 03:06:04 -0400 (EDT) |
branch: master
commit aa1b586a1afaa88e5a9521a7640feefc2c12f009
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
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.
---
src/alloc.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/alloc.c b/src/alloc.c
index 78e0b5f..e057107 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4868,11 +4868,6 @@ mark_memory (void const *start, void const *end)
intptr_t ip;
INT_ADD_WRAPV ((intptr_t) p, (intptr_t) lispsym, &ip);
mark_maybe_pointer ((void *) ip);
-
- verify (alignof (Lisp_Object) % GC_POINTER_ALIGNMENT == 0);
- if (alignof (Lisp_Object) == GC_POINTER_ALIGNMENT
- || (uintptr_t) pp % alignof (Lisp_Object) == 0)
- mark_maybe_object (*(Lisp_Object const *) pp);
}
}
- master updated (886ba06 -> 416195f), Paul Eggert, 2020/08/31
- master 2ff930d 1/6: Fix GC bug with Lisp floats and --with-wide-int, Paul Eggert, 2020/08/31
- master 7e2f6f8 4/6: Remove mark_maybe_object, Paul Eggert, 2020/08/31
- master cf95bb0 3/6: Avoid some false matches in mark_maybe_pointer, Paul Eggert, 2020/08/31
- master aa1b586 2/6: Omit no-longer-needed stack mark_maybe_object,
Paul Eggert <=
- master 89350d4 5/6: Use mark_objects elsewhere too, Paul Eggert, 2020/08/31
- master 416195f 6/6: * src/lisp.h (lisp_h_XPL, XPL): Remove; unused., Paul Eggert, 2020/08/31