]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: eliminate stkdelta
authorMatthew Dempsky <mdempsky@google.com>
Fri, 30 Sep 2016 02:09:36 +0000 (19:09 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 30 Sep 2016 05:15:19 +0000 (05:15 +0000)
commit79db1625b929b8dad46c1537175b9412fd020851
treeac57626c0d2b544997f6f9c37571c7d86a536824
parentbb2bbfa08630c65b8751159515f3a22ec5f933ee
cmd/compile: eliminate stkdelta

At this point in the compiler we haven't assigned Xoffset values for
PAUTO variables anyway, so just immediately store the stack offsets
into Xoffset rather than into a global map.

Change-Id: I61eb471c857c8b145fd0895cbd98fd4e8d3c3365
Reviewed-on: https://go-review.googlesource.com/30081
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/fmt.go
src/cmd/compile/internal/gc/gsubr.go
src/cmd/compile/internal/gc/pgen.go
src/cmd/compile/internal/gc/ssa.go