summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-07-25 17:35:24 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2024-07-26 11:44:34 -0400
commit0ada02abe2c66f49159243b78994645a2936b706 (patch)
tree8df62d07aaf03d2b515a0d5120988e32b90877c3 /test/ruby/test_array.rb
parentcef959df905c1189dff463d74498f3bf8dbbc82e (diff)
Put the default GC implementation back into gc.o
We discovered that having gc.o and gc_impl.o in separate translation units diminishes codegen quality with GCC 11 on x86-64. This commit solves that problem by including default/gc.c into gc.c, letting the optimizer have visibility into the body of functions again in builds not using link-time optimization, which are common. This effectively restores things to the way they were before [Feature #20470] from the optimizer's perspective while maintaining the ability to build gc/default.c as a DSO. There were a few functions duplicated across gc.c and gc/default.c. Extract them and put them into gc/gc.h.
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions