compiler: Function_type and Backend_function_type should not be identical
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 31 Jan 2018 02:11:03 +0000 (02:11 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 31 Jan 2018 02:11:03 +0000 (02:11 +0000)
commit61ddc5ea25a0e5dc691c0c5d4357a47fbdc3ded0
tree4986c8bd54927ce22b11811b7b9951797b8b1c3f
parentf0ab0c3a96f2c3cfa72dd2df7bc721280ca05a92
compiler: Function_type and Backend_function_type should not be identical

    Function_type and Backend_function_type have different backend
    representations, so they should not be identical. Otherwise it
    confuses Type::type_btypes map.

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

From-SVN: r257216
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h