diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2018-03-08 04:18:18 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2018-03-09 21:44:35 +0000 |
| commit | e4de522c95d49d943b99740aa4a1361357dcf869 (patch) | |
| tree | be03be1a2bfee6a71302a406c1c94d6cf969dd03 /src/runtime/panic.go | |
| parent | 91102bf723c2e0912cbc4621f03827c0c3062128 (diff) | |
| download | go-e4de522c95d49d943b99740aa4a1361357dcf869.tar.xz | |
cmd/compile: fix Node.Etype overloading
Add helper methods that validate n.Op and convert to/from the
appropriate type.
Notably, there was a lot of code in walk.go that thought setting
Etype=1 on an OADDR node affected escape analysis.
Passes toolstash-check.
TBR=marvin
Change-Id: Ieae7c67225c1459c9719f9e6a748a25b975cf758
Reviewed-on: https://go-review.googlesource.com/99535
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/panic.go')
0 files changed, 0 insertions, 0 deletions
