commit | 5bca69ab3b41df535193474baecc3a8a4c0b3dbe | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Tue Jun 18 23:24:39 2019 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Fri Jun 21 22:00:12 2019 +0000 |
tree | 2ee2f4bf2eb20ae0d4dfd87ffb9f375bc25d6e33 | |
parent | 593f94f008c24f5abfe7f917a717cf2b0a2585e2 [diff] |
compiler: open code some type assertions Now that type equality is just simple pointer equality, we can open code some type assertions instead of making runtime calls. Change-Id: I6acb1e0b1e94059089cb617688e4e4cb26804e18 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/182977 Reviewed-by: Ian Lance Taylor <iant@golang.org>