aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-09-14 17:27:21 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2013-09-14 15:27:21 +0000
commitafdec9bd067cffe3242fe256e547dc5733006b2c (patch)
tree44cbc571bf525f510cf558c4af549858eb78da92 /gcc/cgraph.h
parent7b86458e38ee3c88ca4e222c85ef6fa883267315 (diff)
downloadgcc-afdec9bd067cffe3242fe256e547dc5733006b2c.zip
gcc-afdec9bd067cffe3242fe256e547dc5733006b2c.tar.gz
gcc-afdec9bd067cffe3242fe256e547dc5733006b2c.tar.bz2
tree-into-ssa.c (gate_into_ssa): New.
* tree-into-ssa.c (gate_into_ssa): New. (pass_data_build_ssa): Use it. * cgraph.h (expand_thunk): Update prototype. * cgraphunit.c (analyze_function): Expand thunks early. (expand_thunk): Fix DECL_CONTEXT of reust_decl; build proper cgraph; set in_ssa_p; clear bogus TREE_ASM_WRITTEN; set lowered flag; do not add new function. (assemble_thunks_and_aliases): Update. * tree-ssa.c (gate_init_datastructures): New gate. (pass_data_init_datastructures): Use it. From-SVN: r202592
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index a6a0a243..50e8743 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -757,7 +757,7 @@ void fixup_same_cpp_alias_visibility (symtab_node, symtab_node target, tree);
IN_SSA is true if the gimple is in SSA. */
basic_block init_lowered_empty_function (tree, bool);
void cgraph_reset_node (struct cgraph_node *);
-void expand_thunk (struct cgraph_node *);
+bool expand_thunk (struct cgraph_node *, bool);
/* In cgraphclones.c */