compiler: Expose runtime code through Func_expression.
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 23 Apr 2016 04:58:00 +0000 (04:58 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 23 Apr 2016 04:58:00 +0000 (04:58 +0000)
commit0e94da57dc1e5712c60a876545a0c09a4d672002
tree2cfb99ced2bf497d3daed25f022fed99a6e01693
parent216f7526fef4db4a7f6510f4d48827bb4c55fc64
compiler: Expose runtime code through Func_expression.

    Enables us to easily check if a Call_expression is a call to a runtime
    function and, if so, which runtime function is corresponds to.
    This will be used during escape analysis.

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

From-SVN: r235383
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/runtime.cc
gcc/go/gofrontend/runtime.h