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.

Change-Id: I14d04f4c40c7bc449df040fa61ada42f433af30a
Reviewed-by: Than McIntosh <>
2 files changed