compiler: change expression importing to use Import_expression
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 20:07:15 +0000 (20:07 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 20:07:15 +0000 (20:07 +0000)
commitfc74d562dee21346405b9bb4a7fe3bd0f2c43758
tree35d3a10f8cc71c587e964eea8bb12bb2e4c8ebe2
parent593570593e0401d2c8cb34ced3efd0cd50e2638e
compiler: change expression importing to use Import_expression

    Change expression importing to use a new abstract interface class
    Import_expression, so that we can more easily import expressions from
    inlinable function bodies.  This is a refactoring with no affect on
    compiler behavior.

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

From-SVN: r266526
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/import.h