summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 10:52:24 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-15 10:52:24 +0000
commit4d7f10097651c0da3d30b8c3abcd9ced9498b51a (patch)
tree783c04ec9f2ca9b26566a2c73aba1a1fec00307f /gc.c
parent8cd2b69b664959d90a882751caf724ad691307f3 (diff)
merge revision(s) 15548:
* gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed. [ruby-dev:33857] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index bc3ef5a..f1f065b 100644
--- a/gc.c
+++ b/gc.c
@@ -453,9 +453,7 @@ stack_end_address(VALUE **stack_end_p)
# endif
# define STACK_END (stack_end)
#endif
-#if defined(sparc) || defined(__sparc__)
-# define STACK_LENGTH (rb_gc_stack_start - STACK_END + 0x80)
-#elif STACK_GROW_DIRECTION < 0
+#if STACK_GROW_DIRECTION < 0
# define STACK_LENGTH (rb_gc_stack_start - STACK_END)
#elif STACK_GROW_DIRECTION > 0
# define STACK_LENGTH (STACK_END - rb_gc_stack_start + 1)