cgraph.c (cgraph_add_new_function): When in expansion state, do lowering.
authorJan Hubicka <jh@suse.cz>
Wed, 18 Jun 2008 13:39:43 +0000 (15:39 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 18 Jun 2008 13:39:43 +0000 (13:39 +0000)
commitff2c88a5611bfb610de62937e762457124747d3c
tree9a9646a27710c1197a1ba3b155dad3007d0d984e
parentb7352f3f9aeba3d9baf252c7cabecebae673cb0d
cgraph.c (cgraph_add_new_function): When in expansion state, do lowering.

* cgraph.c (cgraph_add_new_function): When in expansion state, do lowering.

* method.c: Include cgraph.h.
(use_thunk): Use cgraph_add_new_function instead of calling backend directly.

From-SVN: r136892
gcc/ChangeLog
gcc/cgraph.c
gcc/cp/ChangeLog
gcc/cp/method.c