]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: repair GOSSAFUNC functionality
authorDavid Chase <drchase@google.com>
Thu, 15 Sep 2016 16:43:29 +0000 (12:43 -0400)
committerDavid Chase <drchase@google.com>
Thu, 15 Sep 2016 17:25:18 +0000 (17:25 +0000)
commit3eb16c059d301bc7242461ac8480d95e433e0374
tree07f25df10e1564f8c121735cc733b69acfb176c7
parentad7732a9acf6447e4b70845085263772ea788a6c
cmd/compile: repair GOSSAFUNC functionality

GOSSAFUNC=foo had previously only done printing for the
single function foo, and didn't quite clean up after itself
properly. Changes ensures that Config.HTML != nil iff
GOSSAFUNC==name-of-current-function.

Change-Id: I255e2902dfc64f715d93225f0d29d9525c06f764
Reviewed-on: https://go-review.googlesource.com/29250
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/ssa.go