gcc noinline attribute is available since gcc-3.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5a3aba50e
commit
a198987f0b
2
gc.c
2
gc.c
@ -431,7 +431,9 @@ static unsigned int STACK_LEVEL_MAX = 655300;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
# if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
|
||||||
__attribute__ ((noinline))
|
__attribute__ ((noinline))
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
static void
|
static void
|
||||||
set_stack_end(VALUE **stack_end_p)
|
set_stack_end(VALUE **stack_end_p)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user