]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: change Expression export to use Export_function_body
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Nov 2018 18:55:56 +0000 (18:55 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Nov 2018 18:55:56 +0000 (18:55 +0000)
commit548be2460c106765419347f818cc212a49662edb
tree2faff4665b784c50a7779309159027fe2d3718f3
parentd019d1b8955cb5e899397a8d388f5b6340628c69
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266523 138bc75d-0d04-0410-961f-82ee72b054a4
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