diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-05-18 15:25:22 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2015-05-26 14:21:39 +0800 |
commit | 4db4241dd512cf274d07b301215c715abfd9559f (patch) | |
tree | 8b66cda5b34d737bb14f43ec440fbd5da9e5fa1d /gcc-4.6/gcc/ada/a-locale.adb | |
parent | 1961df0f2c1c5f01e1e68f2db63151bcfc5aaa6f (diff) | |
download | toolchain_gcc-4db4241dd512cf274d07b301215c715abfd9559f.tar.gz toolchain_gcc-4db4241dd512cf274d07b301215c715abfd9559f.tar.bz2 toolchain_gcc-4db4241dd512cf274d07b301215c715abfd9559f.zip |
Cherry-pick r212222
BUG=19872411
2014-07-01 Jan Hubicka <hubicka@ucw.cz>
* ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo,
vtable_pointer_value_to_vtable): Constify.
(contains_polymorphic_type_p): Declare.
* ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo,
vtable_pointer_value_to_vtable): Constify.
(contains_polymorphic_type_p): New predicate.
* ipa-prop.c (ipa_set_jf_known_type): Allow types containing
polymorphic types.
(ipa_set_ancestor_jf): Likewise.
(detect_type_change): Return false in easy cases.
(compute_complex_assign_jump_func): Require type to contain
polymorphic type.
(compute_known_type_jump_func): Likewise.
Change-Id: If4b1a919f00fb1b23c6ebce84141c04120e0e2b6
Diffstat (limited to 'gcc-4.6/gcc/ada/a-locale.adb')
0 files changed, 0 insertions, 0 deletions