diff options
author | Richard Biener <rguenther@suse.de> | 2015-04-20 13:23:59 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-04-20 13:23:59 +0000 |
commit | c26de36ddce5d421c441cbf408142d094cb2b422 (patch) | |
tree | 0d2d43c701ab128b5cc039da87819d90ef62d257 /gcc/gimple-fold.h | |
parent | 9adc2d48acdadae96a52dc2ffc58c881fc4af6dc (diff) | |
download | gcc-c26de36ddce5d421c441cbf408142d094cb2b422.tar.gz |
gimple-fold.h (gimple_build): Remove optional valueize arguments.
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.
From-SVN: r222231
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, |