]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: handle addr of PARAM nodes
authorDavid Chase <drchase@google.com>
Thu, 8 Oct 2015 21:14:12 +0000 (17:14 -0400)
committerDavid Chase <drchase@google.com>
Fri, 9 Oct 2015 00:02:26 +0000 (00:02 +0000)
commit32ffbf7e0f1e79b28eb7da7bc21ab7ce478ef3ef
tree098b3396afc09376ee4dfb4826de997c47af4a0a
parent8824dccc282884919e6747396d7ff704825b5076
[dev.ssa] cmd/compile: handle addr of PARAM nodes

Turns out that these do occur after all, so did the obvious
refactoring into the addr method.

Also added better debugging for the case of unhandled
closure args.

Change-Id: I1cd8ac58f78848bae0b995736f1c744fd20a6c95
Reviewed-on: https://go-review.googlesource.com/15640
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/ssa.go