@@ -1751,7 +1751,7 @@ hashval_t
iterative_hash_template_arg (tree arg, hashval_t val)
{
if (arg == NULL_TREE)
- return iterative_hash_object (arg, val);
+ return iterative_hash_hashval_t (0, val);
if (!TYPE_P (arg))
/* Strip nop-like things, but not the same as STRIP_NOPS. */
@@ -1762,7 +1762,7 @@ iterative_hash_template_arg (tree arg, hashval_t val)
enum tree_code code = TREE_CODE (arg);
- val = iterative_hash_object (code, val);
+ val = iterative_hash_hashval_t (code, val);
switch (code)
{
@@ -1777,7 +1777,7 @@ iterative_hash_template_arg (tree arg, hashval_t val)
return val;
case IDENTIFIER_NODE:
- return iterative_hash_object (IDENTIFIER_HASH_VALUE (arg), val);
+ return iterative_hash_hashval_t (IDENTIFIER_HASH_VALUE (arg), val);
case TREE_VEC:
for (tree elt : tree_vec_range (arg))