compiler: Remove obsolete hidden_fields_are_ok code.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 21 Oct 2014 16:00:50 +0000 (16:00 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 21 Oct 2014 16:00:50 +0000 (16:00 +0000)
commit5900d7553a7e9bf90d6bfeca0df90ab250b2c657
tree4bb0fd6c1318f67884148c8e8cbf581528fbefb6
parentdd637013f6c780d6ae06607f5188002359ac9f4a
compiler: Remove obsolete hidden_fields_are_ok code.

The language used to forbid assigning structs with hidden
fields, but that was changed before the Go 1 release.  At the
time the change was experimental, so I left the old code in
the compiler.  At this point it's clearly not experimental, so
this removes the unused code.

From-SVN: r216519
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h