Skip to content
Snippets Groups Projects
Commit 35c8bbe9 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

tree-object-size: Replace magic numbers with enums


A simple cleanup to allow inserting dynamic size code more easily.

gcc/ChangeLog:

	* tree-object-size.c: New enum.
	(object_sizes, computed, addr_object_size,
	compute_builtin_object_size, expr_object_size, call_object_size,
	merge_object_sizes, plus_stmt_object_size,
	collect_object_sizes_for, init_object_sizes, fini_object_sizes,
	object_sizes_execute): Replace magic numbers with enums.

Signed-off-by: default avatarSiddhesh Poyarekar <siddhesh@gotplt.org>
parent b41be002
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment