commit | 81d9f6d05c2bb92b2b3af02807713b6bed9bf053 | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Wed Jun 07 09:58:25 2017 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Jun 08 18:41:18 2017 +0000 |
tree | c16da7cf1c4fcc837335b6dd9ad6f24b16962e3c | |
parent | 4b857cde45939f0e9f3cf89b9e347b6f6ebe0f8f [diff] |
compiler: lvalue context fixes in Unary_expression::do_get_backend A couple of the Backend::var_expression invocations in Unary_expression::do_get_backend were selecting "lvalue" context incorrectly (these var exprs were not in an assignment or LHS position); fix is to change back to "rvalue" context. Change-Id: I429cc214febfd6955f12384c0c515385059fb69c Reviewed-on: https://go-review.googlesource.com/45136 Reviewed-by: Ian Lance Taylor <iant@golang.org>