compiler: preserve nointerface property when inlining methods
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Mar 2019 16:58:14 +0000 (16:58 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Mar 2019 16:58:14 +0000 (16:58 +0000)
commit167727579b725adba2e262129f664db474445273
tree39f7aff66f510e5e9c00fc8d9165d0497638f82c
parentd81beb31c684350e80a3bcfdc9bbad3323180dc3
compiler: preserve nointerface property when inlining methods

    When an inline function (with body) is imported from another package,
    make that the "nointerface" property (if set) is preserved.

    Fixes golang/go#30862.

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

From-SVN: r269713
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc