diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-07-25 17:35:24 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2024-07-26 11:44:34 -0400 |
| commit | 0ada02abe2c66f49159243b78994645a2936b706 (patch) | |
| tree | 8df62d07aaf03d2b515a0d5120988e32b90877c3 /test/ruby/test_lambda.rb | |
| parent | cef959df905c1189dff463d74498f3bf8dbbc82e (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_lambda.rb')
0 files changed, 0 insertions, 0 deletions
