mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ChangeLog: fix a typo at r43744.
* gc.c (is_mark_stack_empty): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6bcb8edb6d
commit
81f4262e6b
2 changed files with 3 additions and 3 deletions
|
@ -316,7 +316,7 @@ Thu Nov 21 13:43:07 2013 Koichi Sasada <ko1@atdot.net>
|
|||
"struct reflist".
|
||||
|
||||
* gc.c (init_mark_stack): do not use push_mark_stack_chunk() at init.
|
||||
This pre-allocation causes failure on is_mark_stask_empty()
|
||||
This pre-allocation causes failure on is_mark_stack_empty()
|
||||
without any pushing.
|
||||
|
||||
Thu Nov 21 13:40:20 2013 Zachary Scott <e@zzak.io>
|
||||
|
|
4
gc.c
4
gc.c
|
@ -3030,7 +3030,7 @@ stack_chunk_alloc(void)
|
|||
}
|
||||
|
||||
static inline int
|
||||
is_mark_stask_empty(mark_stack_t *stack)
|
||||
is_mark_stack_empty(mark_stack_t *stack)
|
||||
{
|
||||
return stack->chunk == NULL;
|
||||
}
|
||||
|
@ -3117,7 +3117,7 @@ push_mark_stack(mark_stack_t *stack, VALUE data)
|
|||
static int
|
||||
pop_mark_stack(mark_stack_t *stack, VALUE *data)
|
||||
{
|
||||
if (is_mark_stask_empty(stack)) {
|
||||
if (is_mark_stack_empty(stack)) {
|
||||
return FALSE;
|
||||
}
|
||||
if (stack->index == 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue