aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-08-18 11:22:42 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2013-08-18 09:22:42 +0000
commit1d5755efee57268b43d8fbf38c10cbdbf0a0dd04 (patch)
treee1a133f48c521b91466f3bcd74ce9eba66d5faa6 /gcc/tree.h
parent34fdd6b31e8b715b2dfb1490b7c77b4eddacc8df (diff)
downloadgcc-1d5755efee57268b43d8fbf38c10cbdbf0a0dd04.zip
gcc-1d5755efee57268b43d8fbf38c10cbdbf0a0dd04.tar.gz
gcc-1d5755efee57268b43d8fbf38c10cbdbf0a0dd04.tar.bz2
cgraph.c (cgraph_create_indirect_edge): Discover polymorphic calls and record basic info into indirect_info.
* cgraph.c (cgraph_create_indirect_edge): Discover polymorphic calls and record basic info into indirect_info. * gimple-fold.c (gimple_fold_call): When doing BINFO based devirtualization, ignore objc function calls. * ipa-cp.c (initialize_node_lattices): Be ready for polymorphic call with no parm index info. * ipa-prop.c (ipa_analyze_call_uses): Likewise. * tree.c (virtual_method_call_p): New function. * tree.h (virtual_method_call_p): Declare. From-SVN: r201824
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index c1d8d57..4dbff21 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -5974,6 +5974,7 @@ extern location_t tree_nonartificial_location (tree);
extern tree block_ultimate_origin (const_tree);
extern tree get_binfo_at_offset (tree, HOST_WIDE_INT, tree);
+extern bool virtual_method_call_p (tree);
extern tree obj_type_ref_class (tree ref);
extern bool types_same_for_odr (tree type1, tree type2);
extern tree get_ref_base_and_extent (tree, HOST_WIDE_INT *,