* tree.c (type_hash_canon): Use struct tree_type_non_common.

From-SVN: r173692
This commit is contained in:
Jason Merrill 2011-05-11 21:36:38 -04:00 committed by Jason Merrill
parent 0ebc7af178
commit 57421f45e8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-05-11 Jason Merrill <jason@redhat.com>
* tree.c (type_hash_canon): Use struct tree_type_non_common.
2011-05-11 Eric Botcazou <ebotcazou@adacore.com>
* cfgrtl.c (commit_one_edge_insertion): Remove always-true test and

View File

@ -6217,7 +6217,7 @@ type_hash_canon (unsigned int hashcode, tree type)
#ifdef GATHER_STATISTICS
tree_code_counts[(int) TREE_CODE (type)]--;
tree_node_counts[(int) t_kind]--;
tree_node_sizes[(int) t_kind] -= sizeof (struct tree_type);
tree_node_sizes[(int) t_kind] -= sizeof (struct tree_type_non_common);
#endif
return t1;
}