]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: make no-op rewrite funcs smaller
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 31 Dec 2020 12:41:53 +0000 (12:41 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 22 Mar 2021 16:01:44 +0000 (16:01 +0000)
commitbd8b3fe5be9e9a5a2579c013451c07d53b827c56
tree9270ef4c8429457d26ebac948fe91cb49a780465
parente838c76a6ea99007b872669b06590a41278f6188
cmd/compile: make no-op rewrite funcs smaller

This doesn't change any behavior, but should help the compiler realise
that these funcs really do nothing at all.

Change-Id: Ib26c02ef264691acac983538ec300f91d6ff98db
Reviewed-on: https://go-review.googlesource.com/c/go/+/280314
Trust: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/rulegen.go
src/cmd/compile/internal/ssa/rewrite386splitload.go
src/cmd/compile/internal/ssa/rewriteAMD64splitload.go
src/cmd/compile/internal/ssa/rewriteWasm.go
src/cmd/compile/internal/ssa/rewritedec.go
src/cmd/compile/internal/ssa/rewritedec64.go