compiler,runtime: Determine if allocations need new pointers in runtime.
commit213c9452739fa51362ec28c8c01ccb8c4680b575
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2015 01:22:25 +0000 (14 01:22 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2015 01:22:25 +0000 (14 01:22 +0000)
treeb317e5c995b24230c3a354dfb57ea03905f419de
parent9727b44c2844c0a1b73b5731dd7689f8568bf07e
compiler,runtime: Determine if allocations need new pointers in runtime.

    As the removed comment states, if the package being compiled played
    certain tricks with pointers that looked like integers, the compiler
    might allocate space for new pointers unnecessarily.  Since the type
    information on the heap is now precise, this logic can be moved to the
    runtime.

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

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