]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use a Sym type instead of interface{} for symbolic offsets
authorKeith Randall <khr@golang.org>
Fri, 10 Apr 2020 03:28:55 +0000 (20:28 -0700)
committerKeith Randall <khr@golang.org>
Fri, 10 Apr 2020 16:24:46 +0000 (16:24 +0000)
commitea7126fe141879e1065d196570c078fbec09f3b6
tree8c73bed3871361770339060d9a711ee6ff97f35b
parent782fcb44b96753e6e763be91a72bcbfc3dff7ab9
cmd/compile: use a Sym type instead of interface{} for symbolic offsets

Will help with strongly typed rewrite rules.

Change-Id: Ifbf316a49f4081322b3b8f13bc962713437d9aba
Reviewed-on: https://go-review.googlesource.com/c/go/+/227785
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
src/cmd/compile/internal/amd64/ssa.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/op.go
src/cmd/compile/internal/ssa/rewriteAMD64.go
src/cmd/compile/internal/ssa/rewritegeneric.go
src/cmd/internal/obj/link.go