compiler: support inlining functions with if statements
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 7 Jun 2019 14:19:51 +0000 (14:19 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 7 Jun 2019 14:19:51 +0000 (14:19 +0000)
commit6e5443979505b2bc71afe76ef9fd95c38cdb9090
treed48643e47c92e5b9248dfbabab0220d3ccfed287
parente94a64a078b3382c1217a06f1ce6610eef04ce28
compiler: support inlining functions with if statements

    This increases the number of inlinable functions from 455 to 500.
    An example of a newly inlinable function is strings.Compare.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/181137

From-SVN: r272045
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h