commit | 2f21020c9f61b31bd04d5b814aaa27bf976bf07a | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Thu May 11 10:55:12 2017 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Fri May 12 16:33:44 2017 +0000 |
tree | 486a058ecaa35fd5711ff4b9b695cd0d58a60a0a | |
parent | d5bfa6cebb19a154cbfbc53f6e647d2ca7adef68 [diff] |
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. Change-Id: Ie30fe23ee430cfb9157962b0c94747229bfd7044 Reviewed-on: https://go-review.googlesource.com/43270 Reviewed-by: Ian Lance Taylor <iant@golang.org>