escape: Implement the discovery phase.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 13 May 2016 20:42:36 +0000 (20:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 13 May 2016 20:42:36 +0000 (20:42 +0000)
commit6eaba1b066d5a7e6628cb1f83d8c3ffa43df0e10
tree9aec78d6e37218a1173e2a7bbba1e7c9d3554477
parent54ece5e2954831a12f2ad6fe82c320add6dc870a
escape: Implement the discovery phase.

    Implements the discovery phase according the SCC algorithm used in
    gc/esc.go.  Traverse all functions to find components that are either
    trivial or recursive.  The discovered function groups will be analyzed
    from the bottom-up to allow for an inter-procedural analysis.

    Reviewed-on: https://go-review.googlesource.com/18221

From-SVN: r236224
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/escape.cc