compiler: initial support for exporting function bodies
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 26 Nov 2018 21:44:20 +0000 (21:44 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 26 Nov 2018 21:44:20 +0000 (21:44 +0000)
commit1e4cc1d4b097f346b4cda611782fe83eda0df18f
tree2d4e3368b005eaf1e957c8b3437f6e03d7026f42
parent50e99db39196a0567e844f35ce1cd0f36d066b8f
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

From-SVN: r266490
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