]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/go/go-gcc.cc
compiler: Use backend interface for function declarations.
authorChris Manghane <cmang@google.com>
Fri, 11 Oct 2013 03:15:33 +0000 (03:15 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 11 Oct 2013 03:15:33 +0000 (03:15 +0000)
commitf7191ecdbd3adad32b561db40fac6978df6409fe
tree5f41fdf78ab663a67c63db5beabf5b7175f799ba
parentcf5e3504b55071f73420c3ab7756200b1dad7b7a
compiler: Use backend interface for function declarations.

* go-gcc.cc (Backend::error_function): New function.
(Backend::function): New function.
(Backend::make_function): New function.
(function_to_tree): New function.

From-SVN: r203403
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo-tree.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h