]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: cleanup funccompile and compile
authorMatthew Dempsky <mdempsky@google.com>
Wed, 7 Mar 2018 00:20:10 +0000 (16:20 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 7 Mar 2018 03:12:38 +0000 (03:12 +0000)
commitaa00ca12fe5f342f97fe7335e107848f1b7880bd
tree31be4c5d4b5a6d9765860c5a1dca1a5636dee936
parentb75e8a2a3baf71ab39bd584c4c0c24edbaf91e3e
cmd/compile: cleanup funccompile and compile

Bring these functions next to each other, and clean them up a little
bit. Also, change emitptrargsmap to take Curfn as a parameter instead
of a global.

Passes toolstash-check.

Change-Id: Ib9c94fda3b2cb6f0dcec1585622b33b4f311b5e9
Reviewed-on: https://go-review.googlesource.com/99075
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/dcl.go
src/cmd/compile/internal/gc/pgen.go