]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix incorrect go:noinline usage
authorHugues Bruant <hugues.bruant@gmail.com>
Wed, 25 Oct 2017 04:57:51 +0000 (21:57 -0700)
committerMichael Munday <mike.munday@ibm.com>
Mon, 30 Oct 2017 07:48:21 +0000 (07:48 +0000)
commit3c46f49f9449eba44eebf318e59f18db79e7bd18
tree2b2a4a879b1ab14842fb84af02a6326a6f3fc459
parenteac6fe082ba0e54b387eca7604811958fe62a094
cmd/compile: fix incorrect go:noinline usage

This pragma is not actually honored by the compiler.
The tests implicitly relied on the inliner being unable
to inline closures with captured variables, which will
soon change.

Fixes #22208

Change-Id: I13abc9c930b9156d43ec216f8efb768952a29439
Reviewed-on: https://go-review.googlesource.com/73211
Reviewed-by: Michael Munday <mike.munday@ibm.com>
src/cmd/compile/internal/gc/asm_test.go