]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: Don't rematerialize getg
authorKeith Randall <khr@golang.org>
Mon, 19 Oct 2015 23:13:58 +0000 (16:13 -0700)
committerDavid Chase <drchase@google.com>
Tue, 20 Oct 2015 01:41:50 +0000 (01:41 +0000)
commit2dc88eead8d28c6d84f60e30746d90a76f920be6
tree618ee08b689d33bdaaa6a094cd39142291cbe14a
parentc64a6f636282e1db66e6bda681be9b76069b1918
[dev.ssa] cmd/compile: Don't rematerialize getg

It isn't safe in functions that also call setg.

Change-Id: I76a7bf0401b4b6c8a129c245b15a2d6f06080e94
Reviewed-on: https://go-review.googlesource.com/16095
Reviewed-by: Todd Neal <todd@tneal.org>
src/cmd/compile/internal/ssa/regalloc.go