mirror of
https://github.com/golang/go
synced 2024-11-24 01:20:08 -07:00
f049d911e9
unsafe.Pointer safety rule #4 says "The compiler handles a Pointer converted to a uintptr in the argument list of a call". Within escape analysis, we've always required this be a single conversion unsafe.Pointer->uintptr conversion, but the corresponding logic in order is somewhat laxer, allowing arbitrary chains of OCONVNOPs from unsafe.Pointer to uintptr. This CL changes order to be stricter to match escape analysis. Passes toolstash-check. Change-Id: Iadd210d2123accb2020f5728ea2a47814f703352 Reviewed-on: https://go-review.googlesource.com/c/go/+/229578 Reviewed-by: Ian Lance Taylor <iant@golang.org> |
||
---|---|---|
.. | ||
articles | ||
codewalk | ||
gopher | ||
play | ||
progs | ||
asm.html | ||
cmd.html | ||
contrib.html | ||
contribute.html | ||
debugging_with_gdb.html | ||
diagnostics.html | ||
editors.html | ||
effective_go.html | ||
gccgo_contribute.html | ||
gccgo_install.html | ||
go1.1.html | ||
go1.2.html | ||
go1.3.html | ||
go1.4.html | ||
go1.5.html | ||
go1.6.html | ||
go1.7.html | ||
go1.8.html | ||
go1.9.html | ||
go1.10.html | ||
go1.11.html | ||
go1.12.html | ||
go1.13.html | ||
go1.14.html | ||
go1.15.html | ||
go1.html | ||
go1compat.html | ||
go_faq.html | ||
go_mem.html | ||
go_spec.html | ||
go-logo-black.png | ||
go-logo-blue.png | ||
go-logo-white.png | ||
help.html | ||
ie.css | ||
install-source.html | ||
install.html | ||
share.png | ||
tos.html |