diff options
author | Russ Cox <rsc@golang.org> | 2014-09-24 15:20:03 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-24 15:20:03 -0400 |
commit | 00d2f916adf2fb025406f0558ab8cac122fdf060 (patch) | |
tree | e646333f26100d9e8dc41deb7dfcbb3150acd300 /test/escape2.go | |
parent | 50c9d6345915dfacf6d09bf40d21161e77be987a (diff) | |
download | go-00d2f916adf2fb025406f0558ab8cac122fdf060.tar.gz go-00d2f916adf2fb025406f0558ab8cac122fdf060.zip |
cmd/gc: run escape analysis always (even in -N mode)
Fixes #8585.
Removes some little-used code paths.
LGTM=josharian
R=golang-codereviews, minux, josharian
CC=golang-codereviews, iant, r
https://golang.org/cl/132970043
Diffstat (limited to 'test/escape2.go')
-rw-r--r-- | test/escape2.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/escape2.go b/test/escape2.go index 28251aa98b..6a46ce86ab 100644 --- a/test/escape2.go +++ b/test/escape2.go @@ -7,6 +7,8 @@ // Test, using compiler diagnostic flags, that the escape analysis is working. // Compiles but does not run. Inlining is disabled. +// escape2n.go contains all the same tests but compiles with -N. + package foo import ( |