]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/go/go-gcc.cc
Use backend interface for named types and array types.
authorIan Lance Taylor <iant@google.com>
Wed, 4 May 2011 15:42:18 +0000 (15:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 4 May 2011 15:42:18 +0000 (15:42 +0000)
commit7fc2f86b5fb801c7b2c46a764e9d0594cbcb73b9
tree5fcc497e550723948578243837604bc805c453df
parentf81b1a3d371fa51de596917243863866b1235095
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.

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