]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: unify and check LoweredGetClosurePtr
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 3 Jul 2016 20:40:03 +0000 (13:40 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 4 Jul 2016 01:29:28 +0000 (01:29 +0000)
commit41a7dca2722b7defafb05b0919fb8dde38819efb
tree0133e3dd44297451c7185656fb3bb8aa905996c2
parentad8b8f644ea6cf99c81afc62ce4a5cc301df0ecc
[dev.ssa] cmd/compile: unify and check LoweredGetClosurePtr

The comments were mostly duplicated; unify them.
Add a check that the required invariant holds.

Change-Id: I42fe09dcd1fac76d3c4e191f7a58c591c5ce429b
Reviewed-on: https://go-review.googlesource.com/24719
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/arm/ssa.go
src/cmd/compile/internal/gc/ssa.go