Commit 182d115c by Mikhail Maltsev Committed by Jason Merrill

tree.c (replace_placeholders_t): Remove unused type.

	* tree.c (replace_placeholders_t): Remove unused type.
	(replace_placeholders): Remove unused pset.

From-SVN: r222110
parent 9282d562
2015-04-14 Mikhail Maltsev <maltsevm@gmail.com>
* tree.c (replace_placeholders_t): Remove unused type.
(replace_placeholders): Remove unused pset.
2015-04-14 Jason Merrill <jason@redhat.com> 2015-04-14 Jason Merrill <jason@redhat.com>
* pt.c (lookup_template_class_1): Use coerce_innermost_template_parms. * pt.c (lookup_template_class_1): Use coerce_innermost_template_parms.
......
...@@ -2473,12 +2473,6 @@ build_ctor_subob_ref (tree index, tree type, tree obj) ...@@ -2473,12 +2473,6 @@ build_ctor_subob_ref (tree index, tree type, tree obj)
/* Like substitute_placeholder_in_expr, but handle C++ tree codes and /* Like substitute_placeholder_in_expr, but handle C++ tree codes and
build up subexpressions as we go deeper. */ build up subexpressions as we go deeper. */
struct replace_placeholders_t
{
tree obj;
hash_set<tree> *pset;
};
static tree static tree
replace_placeholders_r (tree* t, int* walk_subtrees, void* data_) replace_placeholders_r (tree* t, int* walk_subtrees, void* data_)
{ {
...@@ -2539,7 +2533,6 @@ replace_placeholders_r (tree* t, int* walk_subtrees, void* data_) ...@@ -2539,7 +2533,6 @@ replace_placeholders_r (tree* t, int* walk_subtrees, void* data_)
tree tree
replace_placeholders (tree exp, tree obj) replace_placeholders (tree exp, tree obj)
{ {
hash_set<tree> pset;
tree *tp = &exp; tree *tp = &exp;
if (TREE_CODE (exp) == TARGET_EXPR) if (TREE_CODE (exp) == TARGET_EXPR)
tp = &TARGET_EXPR_INITIAL (exp); tp = &TARGET_EXPR_INITIAL (exp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment