compiler: add containing Bfunction to conditional_expression
authorThan McIntosh <thanm@google.com>
Wed, 11 Jan 2017 18:15:16 +0000 (18:15 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 11 Jan 2017 18:15:16 +0000 (18:15 +0000)
commita2182c9cc2a1d887457e38d13e63598f85443020
tree01781f4b52d85c765576949475a9459eba3e295c
parent1f258a55a9df39ecef35d0049c3bf703d6cdbe53
compiler: add containing Bfunction to conditional_expression

    Add containing Bfunction to Backend::conditional_expression
    method signature, since the back end might need to create a
    temporary when generating IR for this construct.

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

From-SVN: r244330
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