]> Cypherpunks repositories - gostls13.git/commit
runtime: remove noescape hacks from gcWork
authorAustin Clements <austin@google.com>
Tue, 9 Feb 2016 23:37:41 +0000 (18:37 -0500)
committerAustin Clements <austin@google.com>
Thu, 25 Feb 2016 23:37:22 +0000 (23:37 +0000)
commit98130b39f50f51ac966201461b96a20f923c7d64
tree3d05f5f5c8fde43002caa068d4b576e8cbbbb5b9
parent0d26efb12ae255d0f4cbf9484c1fedc2596ff09c
runtime: remove noescape hacks from gcWork

When gcWork was first introduced, the compiler's escape analysis
wasn't good enough to detect that that method receiver didn't escape,
so we had to hack around this.

Now that the compiler can figure out this for itself, remove these
hacks.

Change-Id: I9f73fab721e272410b8b6905b564e7abc03c0dfe
Reviewed-on: https://go-review.googlesource.com/19634
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/mgcwork.go