]> Cypherpunks.ru repositories - gostls13.git/commit
internal/abi: set register count constants to zero for regabi experiment
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 16 Feb 2021 18:29:18 +0000 (18:29 +0000)
committerMichael Knyszek <mknyszek@google.com>
Tue, 16 Feb 2021 19:40:58 +0000 (19:40 +0000)
commit8cfbf34dd956125524ea63469342cf8a319b5bd1
tree35dfa130191d8990fdfc8c6954cbf5a0b506b499
parentd28aae26b00ec047da1c27192d7eb4b64e30db45
internal/abi: set register count constants to zero for regabi experiment

This change sets the register count constants to zero for the
GOEXPERIMENT regabi because currently the users of it (i.e. reflect)
will be broken, since they expect Go functions that implement the new
ABI.

Change-Id: Id3e874c61821a36605eb4e1cccdee36a2759f303
Reviewed-on: https://go-review.googlesource.com/c/go/+/292649
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
src/internal/abi/abi_amd64.go