escape: Implement flood phase.
Walks the connection graphs built in the assign phase from the function context's sink, propagating the escape level to each visited node and uncovering nodes that leak out of their scope which implies they must be heap allocated. Reviewed-on: https://go-review.googlesource.com/18413 From-SVN: r237453
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment