]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: expand inlining test to multiple pkgs
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 13 Sep 2017 19:03:20 +0000 (21:03 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 14 Sep 2017 04:49:58 +0000 (04:49 +0000)
commitf351dbfa4de7ee38b3d9b50413fbc432b4531412
tree3c8a4346f011b540859083bbf91d69bdb03ee294
parent99414a5b1dca17a3778d110866881485ef45b0eb
cmd/compile: expand inlining test to multiple pkgs

Rework the test to work with any number of std packages. This was done
to include a few funcs from unicode/utf8. Adding more will be much
simpler too.

While at it, add more runtime funcs by searching for "inlined" or
"inlining" in the git log of its directory. These are: addb, subtractb,
fastrand and noescape.

Updates #21851.

Change-Id: I4fb2bd8aa6a5054218f9b36cb19d897ac533710e
Reviewed-on: https://go-review.googlesource.com/63611
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/gc/inl_test.go