]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: run escape analysis after method wrapper generation
authorDavid Chase <drchase@google.com>
Tue, 16 Jun 2015 22:28:01 +0000 (18:28 -0400)
committerDavid Chase <drchase@google.com>
Wed, 17 Jun 2015 02:36:45 +0000 (02:36 +0000)
commit5be61b18d457544647e1fd7b6e2282a4a79fe0d0
tree6dbc6e4a189a1365721e43e3c413555b3fa10b4f
parent6428a8b437a36f07b5f0d1b6f0d06e3ee6fc57c1
cmd/compile: run escape analysis after method wrapper generation

Also modified test/run.go to ignore messages prefixed <autogenerated>
because those cannot be described with "// ERROR ...", and backed out
patch from issue #9537 because it is no longer necessary.  The reasons
described in the 9537 discussion for why escape analysis cannot run
late no longer hold, happily.

Fixes #11053.

Change-Id: Icb14eccdf2e8cde3d0f8fb8a216b765400a96385
Reviewed-on: https://go-review.googlesource.com/11088
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/inl.go
src/cmd/compile/internal/gc/subr.go
test/fixedbugs/issue11053.dir/p.go [new file with mode: 0644]
test/fixedbugs/issue11053.dir/p_test.go [new file with mode: 0644]
test/fixedbugs/issue11053.go [new file with mode: 0644]
test/fixedbugs/issue11053.out [new file with mode: 0644]
test/run.go