From fb5d5d48db1c095e263a662435665d48da5106b1 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 22 Jan 2006 13:32:40 +0000 Subject: [PATCH] forgot to commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gc.c b/gc.c index 51f94d76ca..9995d927ef 100644 --- a/gc.c +++ b/gc.c @@ -440,7 +440,7 @@ rb_data_object_alloc(VALUE klass, void *datap, RUBY_DATA_FUNC dmark, RUBY_DATA_F extern st_table *rb_class_tbl; VALUE *rb_gc_stack_start = 0; -#ifdef IA64 +#ifdef __ia64 VALUE *rb_gc_register_stack_start = 0; #endif @@ -1346,7 +1346,7 @@ garbage_collect(void) else rb_gc_mark_locations(rb_gc_stack_start, (VALUE*)STACK_END + 1); #endif -#ifdef IA64 +#ifdef __ia64 /* mark backing store (flushed register stack) */ /* the basic idea from guile GC code */ rb_gc_mark_locations(rb_gc_register_stack_start, (VALUE*)rb_ia64_bsp()); @@ -1425,7 +1425,7 @@ ruby_set_stack_size(size_t size) void Init_stack(VALUE *addr) { -#ifdef IA64 +#ifdef __ia64 if (rb_gc_register_stack_start == 0) { # if defined(__FreeBSD__) /* @@ -1486,7 +1486,7 @@ Init_stack(VALUE *addr) } void ruby_init_stack(VALUE *addr -#ifdef IA64 +#ifdef __ia64 , void *bsp #endif ) @@ -1497,7 +1497,7 @@ void ruby_init_stack(VALUE *addr rb_gc_stack_start < addr)) { rb_gc_stack_start = addr; } -#ifdef IA64 +#ifdef __ia64 if (!rb_gc_register_stack_start || (VALUE*)bsp < rb_gc_register_stack_start) { rb_gc_register_stack_start = (VALUE*)bsp;