aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/panic.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2018-03-08 04:18:18 -0800
committerMatthew Dempsky <mdempsky@google.com>2018-03-09 21:44:35 +0000
commite4de522c95d49d943b99740aa4a1361357dcf869 (patch)
treebe03be1a2bfee6a71302a406c1c94d6cf969dd03 /src/runtime/panic.go
parent91102bf723c2e0912cbc4621f03827c0c3062128 (diff)
downloadgo-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