compiler: add calling Bfunction Backend::call_expression
authorThan McIntosh <thanm@google.com>
Fri, 12 May 2017 16:36:50 +0000 (16:36 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 12 May 2017 16:36:50 +0000 (16:36 +0000)
commitda55a299c5159a622bcf04bf3f97707f5335bcad
tree6ae18ad0b0ccac78b05dd11e1c152bafdda97e4d
parent9dd19976b1b01fd5490fe9f3e840153db8a9610b
compiler: add calling Bfunction Backend::call_expression

    Pass in the calling (containing) Bfunction when invoking the Backend
    method call_expression(), so as to handle the case where generation of
    the call forces the creation of a temp var within the calling
    function.

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

From-SVN: r247981
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.cc