]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] internal/goexperiment: update comment for RegabiArgs requirements
authorCherry Mui <cherryyz@google.com>
Mon, 2 Aug 2021 16:17:13 +0000 (12:17 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 10 Aug 2021 16:07:59 +0000 (16:07 +0000)
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>
src/internal/goexperiment/flags.go

index b7a62b3e26823644ffb5fe1f13586ae9e0735c30..0a61a0e5fc12adc1556cc38138bf14e2583b3cf9 100644 (file)
@@ -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
 }