compiler: initial support for exporting function bodies
commit9890f25f797d8f0136a29467de30d50942c6c47e
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Nov 2018 21:44:20 +0000 (26 21:44 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Nov 2018 21:44:20 +0000 (26 21:44 +0000)
tree2d4e3368b005eaf1e957c8b3437f6e03d7026f42
parent12000efe0779a401ba1aa739a40bd3b28aef10a9
compiler: initial support for exporting function bodies

    Create a framework for putting function bodies in export data.  At
    present only empty functions will be put there, and they will be
    ignored on import.  Later patches will get this to the point of
    supporting inlining of (some) functions defined in other packages.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266490 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/export.h
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/import.h
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h
libgo/go/go/internal/gccgoimporter/parser.go