compiler: include global variable preinit blocks in ast dumps
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 13 Jun 2018 17:24:45 +0000 (17:24 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 13 Jun 2018 17:24:45 +0000 (17:24 +0000)
commitde001ec7773be17f0fc44e3d7a6e64b8fee40581
treed34012e01ff8cb2aa66f6d24404f42d5f4e4c6c7
parent1cc56f079e60fc60df904e443784ad6e7081300c
compiler: include global variable preinit blocks in ast dumps

    Dump out the blocks corresponding to variable pre-inits when
    -fgo-dump-ast is in effect. Each preinit block is prefixed with a
    comment indicating the variable it is initializing.

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

From-SVN: r261555
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/ast-dump.cc