Use backend interface for type descriptors.
authorIan Lance Taylor <iant@google.com>
Sat, 11 Jun 2011 05:16:20 +0000 (05:16 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 11 Jun 2011 05:16:20 +0000 (05:16 +0000)
commit70f910247bd52a16c6195b0508d4ae4c4dce91d8
treee38b79e1691f08d71d1b559926d7877b343c1d4c
parentba68a139acb11620867d3202fd708d655082ef86
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.

From-SVN: r174941
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