mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +00:00
[dev.typeparams] internal/goexperiment: update comment for RegabiArgs requirements
RegabiG and regabiDefer have been always enabled and removed from experiments. Update the comment. Change-Id: Ieaf4b4f0a7e0e9d6733a18932ca457be4f150d08 Reviewed-on: https://go-review.googlesource.com/c/go/+/341150 Trust: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
2e250cc957
commit
fb8579746c
|
@ -80,10 +80,7 @@ type Flags struct {
|
|||
// RegabiArgs enables register arguments/results in all
|
||||
// compiled Go functions.
|
||||
//
|
||||
// Requires wrappers (to do ABI translation), g (because
|
||||
// runtime assembly that's been ported to ABIInternal uses the
|
||||
// G register), reflect (so reflection calls use registers),
|
||||
// and defer (because the runtime doesn't support passing
|
||||
// register arguments to defer/go).
|
||||
// Requires wrappers (to do ABI translation), and reflect (so
|
||||
// reflection calls use registers).
|
||||
RegabiArgs bool
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue