mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: change functype's in and out fields to []*_type
Allows removing a few gratuitous unsafe.Pointer conversions and parallels the type of reflect.funcType's in and out fields ([]*rtype). Change-Id: Ie5ca230a94407301a854dfd8782a3180d5054bc4 Reviewed-on: https://go-review.googlesource.com/16163 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
163653eeaa
commit
c279250946
3 changed files with 9 additions and 10 deletions
|
|
@ -84,8 +84,8 @@ type slicetype struct {
|
|||
type functype struct {
|
||||
typ _type
|
||||
dotdotdot bool
|
||||
in slice
|
||||
out slice
|
||||
in []*_type
|
||||
out []*_type
|
||||
}
|
||||
|
||||
type ptrtype struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue