diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-20 13:23:59 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-20 13:23:59 +0000 |
commit | 856274754fb3210b86a8f937e82cd5caf653b3b4 (patch) | |
tree | 0d2d43c701ab128b5cc039da87819d90ef62d257 /gcc/gimple-fold.h | |
parent | ec3a78785ec7eb8a2355ad34a5fca912e3a25d5f (diff) | |
download | gcc-856274754fb3210b86a8f937e82cd5caf653b3b4.tar.gz |
2015-04-20 Richard Biener <rguenther@suse.de>
* gimple-fold.h (gimple_build): Remove optional valueize arguments.
* gimple-fold.c (gimple_build_valueize): New function.
(gimple_build): Always use gimple_build_valueize as valueize hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-fold.h')
-rw-r--r-- | gcc/gimple-fold.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/gcc/gimple-fold.h b/gcc/gimple-fold.h index 5eb54460737..1204c8a8242 100644 --- a/gcc/gimple-fold.h +++ b/gcc/gimple-fold.h @@ -57,8 +57,7 @@ extern gimple_seq rewrite_to_defined_overflow (gimple); int the provided sequence, matching and simplifying them on-the-fly. Supposed to replace force_gimple_operand (fold_buildN (...), ...). */ extern tree gimple_build (gimple_seq *, location_t, - enum tree_code, tree, tree, - tree (*valueize) (tree) = NULL); + enum tree_code, tree, tree); inline tree gimple_build (gimple_seq *seq, enum tree_code code, tree type, tree op0) @@ -66,8 +65,7 @@ gimple_build (gimple_seq *seq, return gimple_build (seq, UNKNOWN_LOCATION, code, type, op0); } extern tree gimple_build (gimple_seq *, location_t, - enum tree_code, tree, tree, tree, - tree (*valueize) (tree) = NULL); + enum tree_code, tree, tree, tree); inline tree gimple_build (gimple_seq *seq, enum tree_code code, tree type, tree op0, tree op1) @@ -75,8 +73,7 @@ gimple_build (gimple_seq *seq, return gimple_build (seq, UNKNOWN_LOCATION, code, type, op0, op1); } extern tree gimple_build (gimple_seq *, location_t, - enum tree_code, tree, tree, tree, tree, - tree (*valueize) (tree) = NULL); + enum tree_code, tree, tree, tree, tree); inline tree gimple_build (gimple_seq *seq, enum tree_code code, tree type, tree op0, tree op1, tree op2) @@ -84,8 +81,7 @@ gimple_build (gimple_seq *seq, return gimple_build (seq, UNKNOWN_LOCATION, code, type, op0, op1, op2); } extern tree gimple_build (gimple_seq *, location_t, - enum built_in_function, tree, tree, - tree (*valueize) (tree) = NULL); + enum built_in_function, tree, tree); inline tree gimple_build (gimple_seq *seq, enum built_in_function fn, tree type, tree arg0) @@ -93,8 +89,7 @@ gimple_build (gimple_seq *seq, return gimple_build (seq, UNKNOWN_LOCATION, fn, type, arg0); } extern tree gimple_build (gimple_seq *, location_t, - enum built_in_function, tree, tree, tree, - tree (*valueize) (tree) = NULL); + enum built_in_function, tree, tree, tree); inline tree gimple_build (gimple_seq *seq, enum built_in_function fn, tree type, tree arg0, tree arg1) @@ -102,8 +97,7 @@ gimple_build (gimple_seq *seq, return gimple_build (seq, UNKNOWN_LOCATION, fn, type, arg0, arg1); } extern tree gimple_build (gimple_seq *, location_t, - enum built_in_function, tree, tree, tree, tree, - tree (*valueize) (tree) = NULL); + enum built_in_function, tree, tree, tree, tree); inline tree gimple_build (gimple_seq *seq, enum built_in_function fn, tree type, |