compiler: Remove GCC langhooks from frontend proper.
commit6d1e1dd9fc2fd652faba201a51d78f3d4949c036
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Apr 2014 17:55:59 +0000 (30 17:55 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Apr 2014 17:55:59 +0000 (30 17:55 +0000)
treef519620c84074a2493b0229fc910b3fef8d2e5ab
parent8a21d39cf1ea8183eb1e95bbb4396d97ae0dc36d
compiler: Remove GCC langhooks from frontend proper.

* go-lang.c (go_langhook_type_for_size): Do it here, rather than
calling into Go frontend.
(go_langhook_type_for_mode): Likewise.
* go-c.h (go_type_for_size, go_type_for_mode): Don't declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209945 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/go-c.h
gcc/go/go-lang.c
gcc/go/gofrontend/gogo-tree.cc