Use backend interface for basic types
authorEvan Shaw <edsrzf@gmail.com>
Mon, 25 Apr 2011 16:39:24 +0000 (16:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 25 Apr 2011 16:39:24 +0000 (16:39 +0000)
commit0aa5e7f22a2ba320a7ccf0669e9549466d83905c
tree25e8a8eb25aed74e0e1ebcb4a54dca47f1fb93cb
parent5157a881bba46a6cf7682eda323a00450b1f825f
Use backend interface for basic types

* go-gcc.c (class Gcc_tree): Make get_tree const.
(Gcc_backend::void_type): Implement.
(Gcc_backend::bool_type): Implement.
(Gcc_backend::integer_type): Implement.
(Gcc_backend::float_type): Implement.
(Gcc_backend::complex_type): New function.
(Gcc_backend::pointer_type): New function.
(Gcc_backend::make_type): New function.
(type_to_tree): New function.

From-SVN: r172931
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/types.cc