compiler: drop special handling of unexported func/var assembler names
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 5 Oct 2017 23:25:51 +0000 (23:25 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 5 Oct 2017 23:25:51 +0000 (23:25 +0000)
commit098d773ec718ef861119ca821337ab2fcfb17af2
tree7bca7e8c88034ca16055d658bbfa742d07fbfde3
parentb8888a0fe4a94e333a3add0804330ad337c1fd99
compiler: drop special handling of unexported func/var assembler names

    For example, for the package math/big, we used to generate unexported
    names as `big.trim` and exported names as `math_big.NewInt`.  After
    this change we will use `math_big` consistently.

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

From-SVN: r253468
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/names.cc