derefs in location when doing escape analysis?

45 views
Skip to first unread message

xie cui

unread,
May 3, 2021, 12:21:58 PM5/3/21
to golang-nuts
https://github.com/golang/go/blob/master/src/cmd/compile/internal/escape/escape.go#L136
this comment show me that the derefs field of type location is using the do something like min path between root to this location, but each call to walk one has different roots, some i don't understand why  they would not get wrong?
Reply all
Reply to author
Forward
0 new messages