diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-29 15:46:01 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-29 15:46:01 +0000 |
| commit | 3915c1f7afe8575c4fd89c45523b490c0f1d67bd (patch) | |
| tree | fe0fbfa4587e0869f3e54a8f1c548678bb85a7cd | |
| parent | 212a09f0158e2b98b6e5a29a03bd8186c82bd253 (diff) | |
| download | ruby-3915c1f7afe8575c4fd89c45523b490c0f1d67bd.tar.gz ruby-3915c1f7afe8575c4fd89c45523b490c0f1d67bd.tar.xz ruby-3915c1f7afe8575c4fd89c45523b490c0f1d67bd.zip | |
* gc.c (garbage_collect, yarv_machine_stack_mark): fixed typo.
http://bugs.debian.org/426267
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | gc.c | 14 |
2 files changed, 12 insertions, 7 deletions
@@ -1,3 +1,8 @@ +Wed May 30 00:47:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * gc.c (garbage_collect, yarv_machine_stack_mark): fixed typo. + http://bugs.debian.org/426267 + Wed May 30 00:24:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (open_args, arg_ambiguous, parser_warning): should not use @@ -1374,12 +1374,12 @@ garbage_collect(void) #if STACK_GROW_DIRECTION < 0 rb_gc_mark_locations(th->machine_stack_end, th->machine_stack_start); #elif STACK_GROW_DIRECTION > 0 - rb_gc_mark_locations(th->machin_stack_start, th->machine_stack_end + 1); + rb_gc_mark_locations(th->machine_stack_start, th->machine_stack_end + 1); #else - if (th->machine_stack_end < th->machin_stack_start) - rb_gc_mark_locations(th->machine_stack_end, th->machin_stack_start); + if (th->machine_stack_end < th->machine_stack_start) + rb_gc_mark_locations(th->machine_stack_end, th->machine_stack_start); else - rb_gc_mark_locations(th->machin_stack_start, th->machine_stack_end + 1); + rb_gc_mark_locations(th->machine_stack_start, th->machine_stack_end + 1); #endif #ifdef __ia64__ /* mark backing store (flushed register window on the stack) */ @@ -1449,10 +1449,10 @@ yarv_machine_stack_mark(rb_thread_t *th) #if STACK_GROW_DIRECTION < 0 rb_gc_mark_locations(th->machine_stack_end, th->machine_stack_start); #elif STACK_GROW_DIRECTION > 0 - rb_gc_mark_locations(th->machin_stack_start, th->machine_stack_end); + rb_gc_mark_locations(th->machine_stack_start, th->machine_stack_end); #else - if (th->machin_stack_start < th->machine_stack_end) { - rb_gc_mark_locations(th->machin_stack_start, th->machine_stack_end); + if (th->machine_stack_start < th->machine_stack_end) { + rb_gc_mark_locations(th->machine_stack_start, th->machine_stack_end); } else { rb_gc_mark_locations(th->machine_stack_end, th->machine_stack_start); |
