compiler: add result parameter names for inlinable functions
commitb3df66f19fc14b161a2867119b1577b80e7de7f9
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Nov 2018 21:40:56 +0000 (27 21:40 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Nov 2018 21:40:56 +0000 (27 21:40 +0000)
tree102cb82459d38d0d5bc8fcc1f79f5bc92b586c20
parent86f35a6edbf7db0faabab5a5eacd46fb6125ba0d
compiler: add result parameter names for inlinable functions

    An inlinable function body may need to refer to result parameters, so
    each result parameter needs a name.  We already give them all names in
    start_function (via create_result_variables).  Change the export data
    so that for an inlinable function we use those names for the function
    declaration's result parameters.

    Reviewed-on: https://go-review.googlesource.com/c/150070

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266532 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h