]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: add "surprised by IData of Arg" case for register args
authorDavid Chase <drchase@google.com>
Mon, 5 Apr 2021 13:47:22 +0000 (09:47 -0400)
committerDavid Chase <drchase@google.com>
Mon, 5 Apr 2021 20:11:08 +0000 (20:11 +0000)
commitee40bb666bed55e7232c50a980e238aed7a32e0c
tree374bf6b76fa4cacb5baa9df35023342e6968719c
parent254fb85c12aa631b5d1596aaf13f6e8666d65d15
cmd/compile: add "surprised by IData of Arg" case for register args

This fixes a compile crash for
GOEXPERIMENT=regabi,regabiargs go test -c  go/constant

Updates #40724.

Change-Id: I238cef436e045647815326fc8fdb025c30ba1f5c
Reviewed-on: https://go-review.googlesource.com/c/go/+/307309
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/ssa/expand_calls.go
test/abi/idata.go [new file with mode: 0644]
test/abi/idata.out [new file with mode: 0644]