OSDN Git Service

Use backend interface for type descriptors.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Jun 2011 05:16:20 +0000 (05:16 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Jun 2011 05:16:20 +0000 (05:16 +0000)
commita1d23b4177b19a916efac6479f0ef715c489ebfb
treee38b79e1691f08d71d1b559926d7877b343c1d4c
parenta71b0c8e22eb73fd0236c8d0109707fee2956b70
Use backend interface for type descriptors.

* go-gcc.cc: Include "toplev.h".
(Gcc_backend::immutable_struct): New function.
(Gcc_backend::immutable_struct_set_init): New function.
(Gcc_backend::immutable_struct_reference): New function.
* Make-lang.in (go/go-gcc.o): Depend on toplev.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174941 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/Make-lang.in
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo-tree.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h