aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2021-08-02 12:17:13 -0400
committerCherry Mui <cherryyz@google.com>2021-08-10 16:07:59 +0000
commitfb8579746c9de74a6faa70de544286e45bc8386e (patch)
tree2da41470f15efcf62f7cd75db96263cb7aecbfcb
parent2e250cc95760e75a3f1fa082920eecd9f88fd096 (diff)
downloadgo-fb8579746c9de74a6faa70de544286e45bc8386e.tar.gz
go-fb8579746c9de74a6faa70de544286e45bc8386e.zip
[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>
-rw-r--r--src/internal/goexperiment/flags.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/internal/goexperiment/flags.go b/src/internal/goexperiment/flags.go
index b7a62b3e26..0a61a0e5fc 100644
--- a/src/internal/goexperiment/flags.go
+++ b/src/internal/goexperiment/flags.go
@@ -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
}