]> Cypherpunks repositories - gostls13.git/commit
runtime: fix TestCaller with -l=4
authorDavid Lazar <lazard@golang.org>
Tue, 18 Apr 2017 15:01:02 +0000 (11:01 -0400)
committerDavid Lazar <lazard@golang.org>
Tue, 18 Apr 2017 19:56:48 +0000 (19:56 +0000)
commit17137fae2e9abed50a1e6499f0a2fffedc6f0256
tree16288dd250d9288b17ed5b71416792dca0085bef
parent7821be59519b65182e4399425b6e6d908252c11b
runtime: fix TestCaller with -l=4

Only the noinline pragma on testCallerFoo is needed to pass the test,
but the second pragma makes the test robust to future changes to the
inliner.

Change-Id: I80b384380c598f52e0382f53b59bb47ff196363d
Reviewed-on: https://go-review.googlesource.com/40877
Run-TryBot: David Lazar <lazard@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/symtab_test.go