mirror of
https://github.com/golang/go.git
synced 2026-01-29 15:12:08 +03:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user