* src/vm/classcache.c (classcache_new_name): Keep c89 compilers happy.
authortwisti <none@none>
Mon, 20 Feb 2006 14:08:26 +0000 (14:08 +0000)
committertwisti <none@none>
Mon, 20 Feb 2006 14:08:26 +0000 (14:08 +0000)
src/vm/classcache.c

index 09fbf066fa89826915aea92fe1df03c6c361d416..ddcfdbe31c80fa77eca0e80f6e1d0244a19e07c4 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Thalinger
 
-   $Id: classcache.c 4519 2006-02-14 15:53:36Z edwin $
+   $Id: classcache.c 4526 2006-02-20 14:08:26Z twisti $
 
 */
 
@@ -519,13 +519,13 @@ static classcache_name_entry *classcache_new_name(utf *name)
        CLASSCACHE_COUNT(stat_classnames_stored);
 
        if ((hashtable_classcache.entries*2) > hashtable_classcache.size) {
-               CLASSCACHE_COUNT(stat_rehash_names);
-
                /* reorganization of hashtable */ 
 
                classcache_name_entry *c2;
                hashtable newhash;              /* the new hashtable */
 
+               CLASSCACHE_COUNT(stat_rehash_names);
+
                /* create new hashtable, double the size */
 
                hashtable_create(&newhash, hashtable_classcache.size * 2);