]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: move addrescapes and moveToHeap to esc.go
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 27 Apr 2017 13:29:07 +0000 (06:29 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 27 Apr 2017 19:08:20 +0000 (19:08 +0000)
commitfcee3777fdb15eb6e34cb55925a8d5b0cd97e079
treed5ba9a3fdb6188e060d4b06947598399da16598d
parent14f3ca56eda1120cb9f25f05f7fbf705d2bb0dc3
cmd/compile: move addrescapes and moveToHeap to esc.go

They were used only in esc.go. 100% code movement.

Also, remove the rather outdated comment at the top of gen.go.
It's not really clear what gen.go is for any more.

Change-Id: Iaedfe7015ef6f5c11c49f3e6721b15d779a00faa
Reviewed-on: https://go-review.googlesource.com/41971
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/esc.go
src/cmd/compile/internal/gc/gen.go