diff options
author | Andreas Schwab <[email protected]> | 2004-11-27 22:40:50 +0000 |
---|---|---|
committer | Andreas Schwab <[email protected]> | 2004-11-27 22:40:50 +0000 |
commit | 4dec23ff0ba3df7e24abaedc30cc76f9a8442edc (patch) | |
tree | 39a07c269a2e5f14000a7ff7e9f527d6da47bdde /src | |
parent | 4ba93ac05d20ea926b077237900dd92962aaeba4 (diff) |
(mark_stack): Call GC_MARK_SECONDARY_STACK if defined.
Diffstat (limited to 'src')
-rw-r--r-- | src/alloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index a0722b42cf..be2a4fa1bb 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4099,6 +4099,11 @@ mark_stack () #endif for (i = 0; i < sizeof (Lisp_Object); i += GC_LISP_OBJECT_ALIGNMENT) mark_memory ((char *) stack_base + i, end); + /* Allow for marking a secondary stack, like the register stack on the + ia64. */ +#ifdef GC_MARK_SECONDARY_STACK + GC_MARK_SECONDARY_STACK (); +#endif #if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS check_gcpros (); |