]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: give GetClosurePtr pointer type
authorKeith Randall <khr@golang.org>
Tue, 27 Oct 2015 17:15:02 +0000 (10:15 -0700)
committerKeith Randall <khr@golang.org>
Tue, 27 Oct 2015 18:00:31 +0000 (18:00 +0000)
commit129261ae834fa27307f0ed0363b5f719147f2378
tree9a43f68f33d35e5d7e1594bcb8985fbc8a8d9cb5
parent10462eb30f60c140bd3ab524272488f9e349335d
[dev.ssa] cmd/compile: give GetClosurePtr pointer type

If the closure pointer gets spilled, we need to spill it with
pointer type to make stack copy and GC happy.

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