]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: eliminate PPARAMREF
authorRuss Cox <rsc@golang.org>
Wed, 25 May 2016 14:29:50 +0000 (10:29 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 27 May 2016 05:16:16 +0000 (05:16 +0000)
commit20803b845f26111eb9281f8ece98383d48ea1b3f
treee391568df179c4bb4ca8a648635fc915d17b3734
parentb6dc3e6f668e4e0a2d2f710a7604d163d8ca45e1
cmd/compile: eliminate PPARAMREF

As in the elimination of PHEAP|PPARAM in CL 23393,
this is something the front end can trivially take care of
and then not bother the back ends with.
It also eliminates some suspect (and only lightly exercised)
code paths in the back ends.

I don't have a smoking gun for this one but it seems
more clearly correct.

Change-Id: I3b3f5e669b3b81d091ff1e2fb13226a6f14c69d5
Reviewed-on: https://go-review.googlesource.com/23431
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
16 files changed:
src/cmd/compile/internal/arm/gsubr.go
src/cmd/compile/internal/gc/cgen.go
src/cmd/compile/internal/gc/closure.go
src/cmd/compile/internal/gc/cplx.go
src/cmd/compile/internal/gc/dcl.go
src/cmd/compile/internal/gc/esc.go
src/cmd/compile/internal/gc/fmt.go
src/cmd/compile/internal/gc/gen.go
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/racewalk.go
src/cmd/compile/internal/gc/sinit.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/subr.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/gc/walk.go
src/cmd/compile/internal/x86/gsubr.go