diff options
| author | Mattias EngdegÄrd | 2022-04-08 15:34:57 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2022-04-08 15:34:57 +0200 |
| commit | c2d78d09c1eca4df0836d0fb41562ac0ae1071d6 (patch) | |
| tree | df15aa90d882bc016f8ed6f3e5f7d770d69ee191 /src/alloc.c | |
| parent | 13c8cc58bbd829ca4616dea09cb050dc977db9ae (diff) | |
| download | emacs-c2d78d09c1eca4df0836d0fb41562ac0ae1071d6.tar.gz emacs-c2d78d09c1eca4df0836d0fb41562ac0ae1071d6.zip | |
Rename mark_stack to mark_c_stack
This is the function that marks the C stack. Avoid confusion with the
new mark stack, a stack used in the GC mark phase.
* src/alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK)
(mark_stack, mark_c_stack):
* src/lisp.h:
* src/thread.c (mark_one_thread): Rename mark_stack to mark_c_stack.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index 733f7733fa9..8fd981a51f9 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4982,7 +4982,7 @@ marking. Emacs has determined that the method it uses to do the\n\ | |||
| 4982 | marking will likely work on your system, but this isn't sure.\n\ | 4982 | marking will likely work on your system, but this isn't sure.\n\ |
| 4983 | \n\ | 4983 | \n\ |
| 4984 | If you are a system-programmer, or can get the help of a local wizard\n\ | 4984 | If you are a system-programmer, or can get the help of a local wizard\n\ |
| 4985 | who is, please take a look at the function mark_stack in alloc.c, and\n\ | 4985 | who is, please take a look at the function mark_c_stack in alloc.c, and\n\ |
| 4986 | verify that the methods used are appropriate for your system.\n\ | 4986 | verify that the methods used are appropriate for your system.\n\ |
| 4987 | \n\ | 4987 | \n\ |
| 4988 | Please mail the result to <emacs-devel@gnu.org>.\n\ | 4988 | Please mail the result to <emacs-devel@gnu.org>.\n\ |
| @@ -4995,7 +4995,7 @@ marking. Emacs has determined that the default method it uses to do the\n\ | |||
| 4995 | marking will not work on your system. We will need a system-dependent\n\ | 4995 | marking will not work on your system. We will need a system-dependent\n\ |
| 4996 | solution for your system.\n\ | 4996 | solution for your system.\n\ |
| 4997 | \n\ | 4997 | \n\ |
| 4998 | Please take a look at the function mark_stack in alloc.c, and\n\ | 4998 | Please take a look at the function mark_c_stack in alloc.c, and\n\ |
| 4999 | try to find a way to make it work on your system.\n\ | 4999 | try to find a way to make it work on your system.\n\ |
| 5000 | \n\ | 5000 | \n\ |
| 5001 | Note that you may get false negatives, depending on the compiler.\n\ | 5001 | Note that you may get false negatives, depending on the compiler.\n\ |
| @@ -5137,7 +5137,7 @@ typedef union | |||
| 5137 | from the stack start. */ | 5137 | from the stack start. */ |
| 5138 | 5138 | ||
| 5139 | void | 5139 | void |
| 5140 | mark_stack (char const *bottom, char const *end) | 5140 | mark_c_stack (char const *bottom, char const *end) |
| 5141 | { | 5141 | { |
| 5142 | /* This assumes that the stack is a contiguous region in memory. If | 5142 | /* This assumes that the stack is a contiguous region in memory. If |
| 5143 | that's not the case, something has to be done here to iterate | 5143 | that's not the case, something has to be done here to iterate |