diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 04:25:20 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 04:25:20 +0000 |
commit | b309a3698de74e3cf97b5c3d9393c9d3e735f469 (patch) | |
tree | 2cd7fda0c174dea41f7573c646a552a0bf1fa9b3 /gc.c | |
parent | 83db393e489cc48783d19a81c3a1a9448caf847f (diff) | |
download | ruby-b309a3698de74e3cf97b5c3d9393c9d3e735f469.tar.gz |
* gc.c (before_gc_sweep): noinline can also avoid the segv instead of
-O0 of r41084. this way is expected less slow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2288,7 +2288,7 @@ ready_to_gc(rb_objspace_t *objspace) } #if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 4 -__attribute__((optimize("O0"))) +__attribute__((noinline)) #endif static void before_gc_sweep(rb_objspace_t *objspace) |