summaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-16 12:40:33 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-16 12:40:33 +0000
commit0bb8a43b641742d8b57ec301d741cd00a887c6ff (patch)
tree8d1489cda293630115ee052c09cefde6686b0e24 /gcc/passes.def
parent3279ea23fb244045b6c448bd4ffbad57366a31e6 (diff)
downloadgcc-0bb8a43b641742d8b57ec301d741cd00a887c6ff.tar.gz
Remove first_pass_instance from pass_object_sizes
2015-11-16 Tom de Vries <tom@codesourcery.com> * passes.def: Add arg to pass_object_sizes pass instantiation. * tree-object-size.c (pass_object_sizes::pass_object_sizes): Initialize insert_min_max_p. (pass_object_sizes::set_pass_param): New member function. Set insert_min_max_p. (pass_object_sizes::insert_min_max_p): New private member. (pass_object_sizes::execute): Use insert_min_max_p instead of first_pass_instance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index d274a950d9b..64883a79ecc 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -77,7 +77,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_all_early_optimizations);
PUSH_INSERT_PASSES_WITHIN (pass_all_early_optimizations)
NEXT_PASS (pass_remove_cgraph_callee_edges);
- NEXT_PASS (pass_object_sizes);
+ NEXT_PASS (pass_object_sizes, true /* insert_min_max_p */);
NEXT_PASS (pass_ccp);
/* After CCP we rewrite no longer addressed locals into SSA
form if possible. */
@@ -164,7 +164,7 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_backprop);
NEXT_PASS (pass_phiprop);
NEXT_PASS (pass_forwprop);
- NEXT_PASS (pass_object_sizes);
+ NEXT_PASS (pass_object_sizes, false /* insert_min_max_p */);
/* pass_build_alias is a dummy pass that ensures that we
execute TODO_rebuild_alias at this point. */
NEXT_PASS (pass_build_alias);