]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't modify underlying type when creating bitmap for bodyless function
authorDavid Chase <drchase@google.com>
Fri, 9 Apr 2021 22:05:57 +0000 (18:05 -0400)
committerDavid Chase <drchase@google.com>
Tue, 13 Apr 2021 22:31:20 +0000 (22:31 +0000)
commitb4881d930a653ffc72cfcdff2902a627ba3a205c
tree7e447c8e183b16ab8493c99eaa90a8032cf74e79
parentefaf75a2166d397b2050cc0bb1b60b0c80698e2d
cmd/compile: don't modify underlying type when creating bitmap for bodyless function

This fixes the build crash for
    GOEXPERIMENT=regabi,regabiargs GOOS=windows go build syscall

Updates #40724.

Change-Id: I4400f6ff2e83e7e7e93ad5e58c6063b327532504
Reviewed-on: https://go-review.googlesource.com/c/go/+/309110
Trust: David Chase <drchase@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/abi/abiutils.go
src/cmd/compile/internal/gc/compile.go
src/cmd/compile/internal/liveness/plive.go