diff options
author | Matthew Dempsky <mdempsky@google.com> | 2018-03-13 12:59:41 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2018-03-13 20:34:03 +0000 |
commit | 09d4455f458478a9bc1f69fd29f1c5c70fefe23e (patch) | |
tree | 3a5830d170289a029ff58ccf6e41a974d8841e3d /test/inline_variadic.go | |
parent | c74aa39f47840a36ddf10cfac96a2c49bd0786f1 (diff) | |
download | go-git-09d4455f458478a9bc1f69fd29f1c5c70fefe23e.tar.gz |
cmd/compile: enable inlining variadic functions
As a side effect of working on mid-stack inlining, we've fixed support
for inlining variadic functions. Might as well enable it.
Change-Id: I7f555f8b941969791db7eb598c0b49f6dc0820aa
Reviewed-on: https://go-review.googlesource.com/100456
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'test/inline_variadic.go')
-rw-r--r-- | test/inline_variadic.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/inline_variadic.go b/test/inline_variadic.go index 6466c2b093..fcc1cff1e8 100644 --- a/test/inline_variadic.go +++ b/test/inline_variadic.go @@ -1,10 +1,10 @@ -// errorcheck -0 -m -l=3 +// errorcheck -0 -m // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Test more aggressive inlining (-l=3 allows variadic functions) +// Test inlining of variadic functions. // See issue #18116. package foo |