compiler: connect the concrete type and the placeholder for circular types
commit7f59a3c89badede8940dcea428a040254757b11b
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 17:21:10 +0000 (17 17:21 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 17:21:10 +0000 (17 17:21 +0000)
tree7b100106e84612bbb0de05a8e889dac1d7530319
parent0e8925ceeab13195ebd614cbe824a0697ce1e199
compiler: connect the concrete type and the placeholder for circular types

    Previously, when creating the backend representation of a
    circular type, we resolve the placeholder to a
    circular_pointer_type. The backend doesn't know what the
    concrete type is.

    This CL changes it to resolve the placeholder to the concrete
    type instead, so the backend may have better knowledge of the
    concrete type.

    Reviewed-on: https://go-review.googlesource.com/123738

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