commit | 6572f7e35f962bdb8a7c174920dbb70350b96874 | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Thu Jul 20 14:43:00 2017 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Jul 20 19:53:24 2017 +0000 |
tree | cb915942f6f069c4907c48a1c62047d98e230684 | |
parent | 3d9ff9bc339942922f1be3bef07c6fe2978ad81a [diff] |
compiler: add explicit convert in Type_guard_expression::do_get_backend The current recipe in Type_guard_expression for creating a Bexpression performs a type conversion at the Type level, but doesn't invoke Backend::convert_expression to capture the conversion for the back end. Add code to create a BE type conversion operation. Change-Id: I395b3ab9e8aa2c1413055f8df3d9a87b5a0d4ffa Reviewed-on: https://go-review.googlesource.com/50373 Reviewed-by: Ian Lance Taylor <iant@golang.org>