compiler: change Expression export to use Export_function_body
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 18:55:56 +0000 (18:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 18:55:56 +0000 (18:55 +0000)
commit336785efd4228d3ed044bf8ede10c43de9c6ba61
tree2faff4665b784c50a7779309159027fe2d3718f3
parentba28599caf0c45ea4552a3228c15b1d99e572007
compiler: change Expression export to use Export_function_body

    In preparation for writing expressions to inline function bodies,
    change the existing expression export code to use Export_function_body
    rather than Export.  Adjust existing expression exporters accordingly.

    This is a refactoring that doesn't affect compiler output.

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

From-SVN: r266523
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/export.cc
gcc/go/gofrontend/export.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/types.cc