]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: Use backend interface for initialization functions.
authorChris Manghane <cmang@google.com>
Tue, 22 Apr 2014 23:46:30 +0000 (23:46 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 22 Apr 2014 23:46:30 +0000 (23:46 +0000)
commitaa4929209a17cc4070b900d9bd2947b50c6f83d1
tree4a57f96317acc5e134415f90f182cd3b815dc14b
parent2195867f1d6cdc9e8d36aeeefc3c0f000bccbda3
compiler: Use backend interface for initialization functions.

* go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around
call to create_tmp_var.  Require that function be non-NULL.

From-SVN: r209665
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/gogo-tree.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h