This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] split tree_type, a.k.a. "tuplifying types"


I'm checking this in to fix build with --enable-gather-detailed-mem-stats.

Jason

commit 091ac850cf8830722c9bae83232f0d95ccd45b2a
Author: Jason Merrill <jason@redhat.com>
Date:   Wed May 11 21:36:09 2011 -0400

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

diff --git a/gcc/tree.c b/gcc/tree.c
index c38d24b..3357d84 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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;
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]