diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-19 09:37:10 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-19 09:37:10 +0000 |
commit | fec2c12c29df1fdc33a4d7fc110673adc35b7432 (patch) | |
tree | 371583bde9dc8ac5c435407a492957e66bcd31f3 /gc.c | |
parent | 5f1284ca8dfbee247d534e6d8f0c22d1c0f36c72 (diff) | |
download | bundler-fec2c12c29df1fdc33a4d7fc110673adc35b7432.tar.gz |
* gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed. [ruby-dev:33857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -574,9 +574,7 @@ rb_data_object_alloc(VALUE klass, void *datap, RUBY_DATA_FUNC dmark, RUBY_DATA_F #define STACK_END (th->machine_stack_end) #define STACK_LEVEL_MAX (th->machine_stack_maxsize/sizeof(VALUE)) -#if defined(sparc) || defined(__sparc__) -# define STACK_LENGTH (STACK_START - STACK_END + 0x80) -#elif STACK_GROW_DIRECTION < 0 +#if STACK_GROW_DIRECTION < 0 # define STACK_LENGTH (STACK_START - STACK_END) #elif STACK_GROW_DIRECTION > 0 # define STACK_LENGTH (STACK_END - STACK_START + 1) |