compiler: containing small bfunction mixup in Gogo::write_globals
commit2f9d7788419490c3cf5e0d5479e08241f2652484
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 14:26:07 +0000 (13 14:26 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 14:26:07 +0000 (13 14:26 +0000)
tree8b08e05ea8ffe81a60a8eefd51a7351fd23b8b4e
parent9917317aa72c629da898788ccb30e591af5b2b84
compiler: containing small bfunction mixup in Gogo::write_globals

    Fix buglet in Gogo::write_globals-- in a couple of places the
    wrong Bfunction was being used for the containing (not target)
    function when creating calls for init functions.

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

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