compiler: rewrite Type::are_identical to use flags
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 18 Oct 2018 22:55:34 +0000 (22:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 18 Oct 2018 22:55:34 +0000 (22:55 +0000)
commit0799a08b5c6a2087de9512252be6d9192e92395a
tree00e9825d1ae11f944557824d0b88eac6162f48dc
parent28dd75a330e7cc929a6be489ea3c252dd4a8bd8a
compiler: rewrite Type::are_identical to use flags

    A single flags parameter replaces the Cmp_tags and errors_are_identical
    parameters. The existing behavior is unchanged.

    This is a simplification step for future work that will add a new flag.

    Reviewed-on: https://go-review.googlesource.com/c/143019

From-SVN: r265293
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/escape.cc
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h
gcc/go/gofrontend/wb.cc