diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-30 02:59:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-30 02:59:44 +0000 |
commit | 27a9df2a6ba505846f25aa9cd4cb2627e753e6de (patch) | |
tree | 9083cf2f24bbb51f84bd5e876cc6bdd9473b205f /gc.c | |
parent | 6d69a240b86c10f128347a681c731c5cda972e22 (diff) | |
download | ruby-27a9df2a6ba505846f25aa9cd4cb2627e753e6de.tar.gz |
* configure.in (RUBY_FUNC_ATTRIBUTE): check for function attribute.
[ruby-dev:26109]
* eval.c, gc.c: moved noinline to configure.in.
* rubyio.h (DEPRECATED): moved to configure.in.
* ruby.h (DEPRECATED, NOINLINE): default definition.
* win{32,ce}/Makefile.sub (config.h): deprecated and noinline for
__declspec() are available for VC++7 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -429,11 +429,8 @@ static unsigned int STACK_LEVEL_MAX = 655300; # define STACK_LEVEL_MAX 655300 #endif -#ifdef __GNUC__ -# if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3 -__attribute__ ((noinline)) -# endif -#endif +NOINLINE(static void set_stack_end _((VALUE **stack_end_p))); + static void set_stack_end(VALUE **stack_end_p) { @@ -510,7 +507,7 @@ init_mark_stack() } #define MARK_STACK_EMPTY (mark_stack_ptr == mark_stack) - + static st_table *source_filenames; char * |