* gc.c (rb_gc): typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-08-01 11:01:04 +00:00
parent 070fcde39d
commit b27aa02015

2
gc.c
View File

@ -1261,7 +1261,7 @@ rb_gc()
ucontext_t ctx; ucontext_t ctx;
VALUE *top, *bot; VALUE *top, *bot;
getcontext(&ctx); getcontext(&ctx);
rb_gc_mark_locations((VALUE*)&ctx.uc_mcontext, mark_locations_array((VALUE*)&ctx.uc_mcontext,
((size_t)(sizeof(VALUE)-1 + sizeof ctx.uc_mcontext)/sizeof(VALUE))); ((size_t)(sizeof(VALUE)-1 + sizeof ctx.uc_mcontext)/sizeof(VALUE)));
bot = (VALUE*)__libc_ia64_register_backing_store_base; bot = (VALUE*)__libc_ia64_register_backing_store_base;
top = (VALUE*)ctx.uc_mcontext.sc_ar_bsp; top = (VALUE*)ctx.uc_mcontext.sc_ar_bsp;