summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authoriwamatsu <iwamatsu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-20 06:05:54 +0000
committeriwamatsu <iwamatsu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-20 06:05:54 +0000
commite6a51e8f8c475567acca22eb33ba26fcc7a1d7f3 (patch)
tree28a238135142f8681c173cb9b4bbb768f0a2b1b7 /gc.c
parent7e1e46b99da9d33b9aede74ea56f2cf62df41107 (diff)
* gc.c: Fix build on m68k by 'error: too few arguments to
function 'mark_locations_array''. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 8886da0452..d63300231f 100644
--- a/gc.c
+++ b/gc.c
@@ -2349,7 +2349,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
rb_gc_mark_locations(th->machine_register_stack_start, th->machine_register_stack_end);
#endif
#if defined(__mc68000__)
- mark_locations_array((VALUE*)((char*)STACK_END + 2),
+ mark_locations_array(objspace, (VALUE*)((char*)STACK_END + 2),
(STACK_START - STACK_END));
#endif
}