diff options
| author | Keith Randall <khr@golang.org> | 2016-10-31 21:18:00 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2016-11-02 21:29:41 +0000 |
| commit | 761443edd56832cc1b62f9193f157ca822dfa09e (patch) | |
| tree | 9c861f694cf03cc73414d075fc92a4f3369f7aa1 /test/interface/assertinline.go | |
| parent | 09bb6434f9a8681b81a667e1ff186c61bbe0a50f (diff) | |
| download | go-761443edd56832cc1b62f9193f157ca822dfa09e.tar.xz | |
cmd/compile: On a runtime.KeepAlive call, keep whole variable alive
We generate an OpKeepAlive for the idata portion of the interface
for a runtime.KeepAlive call. But given such an op, we need to keep
the entire containing variable alive, not just the range that was
passed to the OpKeepAlive operation.
Fixes #17710
Change-Id: I90de66ec8065e22fb09bcf9722999ddda289ae6e
Reviewed-on: https://go-review.googlesource.com/32477
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Diffstat (limited to 'test/interface/assertinline.go')
0 files changed, 0 insertions, 0 deletions
