mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +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
|
// RegabiArgs enables register arguments/results in all
|
||||||
// compiled Go functions.
|
// compiled Go functions.
|
||||||
//
|
//
|
||||||
// Requires wrappers (to do ABI translation), g (because
|
// Requires wrappers (to do ABI translation), and reflect (so
|
||||||
// runtime assembly that's been ported to ABIInternal uses the
|
// reflection calls use registers).
|
||||||
// G register), reflect (so reflection calls use registers),
|
|
||||||
// and defer (because the runtime doesn't support passing
|
|
||||||
// register arguments to defer/go).
|
|
||||||
RegabiArgs bool
|
RegabiArgs bool
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue