]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use abiutils for all rcvr/in/out frame offsets.
authorDavid Chase <drchase@google.com>
Tue, 9 Feb 2021 20:14:43 +0000 (15:14 -0500)
committerDavid Chase <drchase@google.com>
Wed, 3 Mar 2021 01:45:33 +0000 (01:45 +0000)
commit77973863c351b162d68723439fc56fb054e917b2
tree690743127dd11a65f9487824a8e4dc8d72f658a5
parentaea1259a7288d71736273b494e60bd424ea1946c
cmd/compile: use abiutils for all rcvr/in/out frame offsets.

types thought it knew how to do this, but that's a lie, because types
doesn't know what the ABI is.

includes extra checking to help prevent things from accidentally working
if they need to be changed but aren't.

For #40724.

Change-Id: I166cd948f262344b7bebde6a2c25e7a7f878bbfb
Reviewed-on: https://go-review.googlesource.com/c/go/+/293393
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/abi/abiutils.go
src/cmd/compile/internal/ir/expr.go
src/cmd/compile/internal/ssa/expand_calls.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/compile/internal/typecheck/typecheck.go
src/cmd/compile/internal/types/size.go
src/cmd/compile/internal/types/type.go
src/cmd/compile/internal/walk/assign.go