The current StdSizes most closely matches the gc compiler, and the uses I know of that care which compiler the sizes are for are all for the gc compiler, so call the existing implementation "gc". Updates #17586 Fixes #19351 Change-Id: I2bdd694518fbe233473896321a1f9758b46ed79b Reviewed-on: https://go-review.googlesource.com/37666 Run-TryBot: Josh Bleecher Snyder <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Robert Griesemer <firstname.lastname@example.org>
Kind of. We now have a SizesFor that supports returning different concrete Sizes implementations, but we don't exactly have a concrete implementation for cmd/compile--it's close, but not exact, e.g. the padding byte in some circumstances. Moving to unplanned, though, pending direct need for it.