libabigail/include
Dodji Seketeli 1b1b8399d1 ir: Remove the now useless type propagation optimization
Now that the type hashing patch is in, I figure we can do away with
the overly complicated type propagation optimization.  The type
propagating optimization is disabled by the type hashing patch anyway
so this is overdue now.

The nice thing about this is that we are dropping a big complicated
code with no noticeable speed penalty \o/

	* configure.ac: Remove the now useless --enable-ct-propagation
	option.
	* include/abg-ir.h (environment::do_on_the_fly_canonicalization):
	Remove member function declaration.
	* src/abg-ir-priv.h (type_base::priv::{depends_on_recursive_type_,
	canonical_type_propagated_,
	propagated_canonical_type_confirmed_}): Remove data members.
	(type_base::priv::priv): Update.
	(type_base::priv::{depends_on_recursive_type,
	set_depends_on_recursive_type,
	set_does_not_depend_on_recursive_type, canonical_type_propagated,
	set_canonical_type_propagated,
	propagated_canonical_type_confirmed,
	set_propagated_canonical_type_confirmed,
	clear_propagated_canonical_type}): Remove member functions.
	(environment::priv::{types_with_non_confirmed_propagated_ct_,
	recursive_types_, types_with_cleared_propagated_ct_,
	do_on_the_fly_canonicalization_}): Remove data members.
	(environment::priv::priv): Adjust.
	(environment::priv::{mark_dependant_types,
	mark_dependant_types_compared_until}): Update comment.
	(environment::priv::{mark_dependant_types,
	mark_dependant_types_compared_until, is_recursive_type,
	propagate_ct, confirm_ct_propagation_for_types_dependant_on,
	confirm_ct_propagation, confirm_ct_propagation,
	types_with_cleared_propagated_ct,
	types_with_cleared_propagated_ct,
	record_type_with_cleared_propagated_canonical_type,
	erase_type_with_cleared_propagated_canonical_type,
	collect_types_that_depends_on,
	cancel_ct_propagation_for_types_dependant_on,
	cancel_ct_propagation, clear_propagated_canonical_type,
	add_to_types_with_non_confirmed_propagated_ct,
	remove_from_types_with_non_confirmed_propagated_ct,
	cancel_all_non_confirmed_propagated_canonical_types}): Remove.
	(canonicalize_types): Remove canonical type propagation debugging
	code.
	* src/abg-ir.cc (mark_dependant_types_compared_until): Remove function.
	(RETURN_TRUE_IF_COMPARISON_CYCLE_DETECTED): Adjust, do not use the
	removed mark_dependant_types_compared_until.
	(return_comparison_result): Remove handling of the canonical type
	propagation optimization.
	(environment::do_on_the_fly_canonicalization): Remove member
	functions.
	(maybe_propagate_canonical_type, maybe_propagate_canonical_type)
	(maybe_cancel_propagated_canonical_type, ): Remove functions.
	(compare_canonical_type_against_candidate, canonicalize): Remove
	handling of the canonical type propagation optimization.
	(equals): In the overload for class_or_union, adjust call to
	return_comparison_result.  In the overload for class_decl, remove
	call to maybe_cancel_propagated_canonical_type.
	(OnTheFlyCanonicalization): Remove this doxygen documentation
	module describing the canonical type propagation optimization.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2024-08-29 17:15:43 +02:00
..
abg-btf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-comp-filter.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-comparison.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-config.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-corpus.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-ctf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-cxx-compat.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-diff-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-dwarf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-elf-based-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-elf-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-fe-iface.h Use smart pointers for variables exported from the ABI corpus 2024-08-14 14:05:54 +02:00
abg-fwd.h Implement type hashing 2024-08-29 17:15:43 +02:00
abg-hash.h Implement type hashing 2024-08-29 17:15:43 +02:00
abg-ini.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-interned-str.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-ir.h ir: Remove the now useless type propagation optimization 2024-08-29 17:15:43 +02:00
abg-libxml-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-reader.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-regex.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-reporter.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-sptr-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-suppression.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-tools-utils.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-traverse.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-version.h.in abidw: Add --abixml-version 2021-11-12 18:31:28 +01:00
abg-viz-common.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-viz-dot.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-viz-svg.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-workers.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
abg-writer.h Update Copyright for year 2024 2024-04-26 15:29:50 +02:00
Makefile.am Add support for BTF 2023-01-06 21:05:53 +01:00