summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-29 15:46:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-29 15:46:01 +0000
commita196c4ff5cce1e0544a4d27f1ceb6ef40bbc19b2 (patch)
treefe0fbfa4587e0869f3e54a8f1c548678bb85a7cd /gc.c
parent0d2109239d99af0710937c4bfe96a3c6e9db25ad (diff)
* gc.c (garbage_collect, yarv_machine_stack_mark): fixed typo.
http://bugs.debian.org/426267 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gc.c b/gc.c
index 1d14a55475..eb98b809f7 100644
--- a/gc.c
+++ b/gc.c
@@ -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);