diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-06-28 20:26:12 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-06-28 18:26:12 +0000 |
commit | c7e1befad2b375b2245dca11329df92b600ef3ed (patch) | |
tree | cc45d33f98617ef4730134a0e803d45a3e94ce98 /gcc/tree-inline.c | |
parent | 7ae2e72c93c2c5dfca4ecc64fcda12a558b4332c (diff) | |
download | gcc-c7e1befad2b375b2245dca11329df92b600ef3ed.zip gcc-c7e1befad2b375b2245dca11329df92b600ef3ed.tar.gz gcc-c7e1befad2b375b2245dca11329df92b600ef3ed.tar.bz2 |
ipa-devirt.c (set_type_binfo): New function.
* ipa-devirt.c (set_type_binfo): New function.
(add_type_duplicate): Use it.
(get_odr_type): Sanity check that binfos points to main variants.
(get_class_context): Be sure the context's outer_type is main variant.
(contains_type_p): Walk main variant.
(get_polymorphic_call_info_for_decl): Set outer_type to be main variant.
(get_polymorphic_call_info): Likewise.
(possible_polymorphic_call_targets): Sanity check that we operate on main
variant.
From-SVN: r212107
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions