]> Cypherpunks.ru repositories - gostls13.git/commit
test: fix inline.go test for linux-amd64-noopt
authorEgon Elbre <egonelbre@gmail.com>
Wed, 24 Feb 2021 19:08:52 +0000 (21:08 +0200)
committerBryan C. Mills <bcmills@google.com>
Thu, 25 Feb 2021 02:22:12 +0000 (02:22 +0000)
commitd822ffebc59d27190ac145a71c726dad35769225
tree3d11957aead35c63b8e6dfd29afdc3a74deb5743
parentff614b13d90961f55b1058bd798c6d4e92d3939c
test: fix inline.go test for linux-amd64-noopt

math.Float32bits was not being inlined across package boundaries.
Create a private func that can be inlined with -l.

Change-Id: Ic50bf4727dd8ade09d011eb204006b7ee88db34a
Reviewed-on: https://go-review.googlesource.com/c/go/+/295989
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
test/inline.go