]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: Remove GCC langhooks from frontend proper.
authorChris Manghane <cmang@google.com>
Wed, 30 Apr 2014 17:55:59 +0000 (17:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 30 Apr 2014 17:55:59 +0000 (17:55 +0000)
commitad5b68e0afd71857e219161266f5a7001bfcbd24
treef519620c84074a2493b0229fc910b3fef8d2e5ab
parent7211512a5f817ad08e333774bd186c0c5ff48533
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.

From-SVN: r209945
gcc/go/ChangeLog
gcc/go/go-c.h
gcc/go/go-lang.c
gcc/go/gofrontend/gogo-tree.cc