OSDN Git Service

Use backend interface for named types and array types.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 May 2011 15:42:18 +0000 (15:42 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 May 2011 15:42:18 +0000 (15:42 +0000)
commit000a44cf5aa86eb259de9785df2080d151690fda
tree5fcc497e550723948578243837604bc805c453df
parent2c46738dde5e1edafb189c1ddbacf90cef78b745
Use backend interface for named types and array types.

* go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct.
(Gcc_backend::fill_in_struct): New function.
(Gcc_backend::array_type): Implement.
(Gcc_backend::fill_in_array): New function.
(Gcc_backend::placeholder_pointer_type): New function.
(Gcc_backend::set_placeholder_pointer_type): New function.
(Gcc_backend::set_placeholder_function_type): New function.
(Gcc_backend::placeholder_struct_type): New function.
(Gcc_backend::set_placeholder_struct_type): New function.
(Gcc_backend::placeholder_array_type): New function.
(Gcc_backend::set_placeholder_array_type): New function.
(Gcc_backend::named_type): New function.
(Gcc_backend::circular_pointer_type): New function.
(Gcc_backend::is_circular_pointer_type): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173380 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h