* src/vm/jit/x86_64/codegen.c (codegen): Changed signature to use
[cacao.git] / src / vm / classcache.h
index 3907c9aab7d8a46a6fdcc2709f1126fe173a5a44..7b18a5d5919efa2106c53e7edb698805fb137e08 100644 (file)
@@ -1,9 +1,9 @@
 /* src/vm/classcache.h - loaded class cache and loading constraints
 
-   Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
-   R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
-   C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
-   Institut f. Computersprachen - TU Wien
+   Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+   C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
+   E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
+   J. Wenninger, Institut f. Computersprachen - TU Wien
 
    This file is part of CACAO.
 
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA.
 
-   Contact: cacao@complang.tuwien.ac.at
+   Contact: cacao@cacaojvm.org
 
    Authors: Edwin Steiner
 
    Changes:
 
-   $Id: classcache.h 3810 2005-11-27 14:11:44Z edwin $
+   $Id: classcache.h 4519 2006-02-14 15:53:36Z edwin $
 
 */
 
 
 #include <stdio.h>  /* for FILE */
 
+#include "config.h"
+#include "vm/types.h"
+
+#include "vm/hashtable.h"
 #include "vm/references.h"
-#include "vm/tables.h"
 
 
 /* forward declarations *******************************************************/
@@ -52,10 +55,10 @@ typedef java_objectheader classloader;
 
 /* global variables ***********************************************************/
 
-extern hashtable classcache_hash;
+extern hashtable hashtable_classcache;
 
-/* structs ********************************************************************/
 
+/* structs ********************************************************************/
 
 /*----------------------------------------------------------------------------*/
 /* The Loaded Class Cache                                                     */
@@ -115,6 +118,7 @@ struct classcache_loader_entry
        classcache_loader_entry  *next;       /* next loader entry in the list    */
 };
 
+
 /* function prototypes ********************************************************/
 
 /* initialize the loaded class cache */
@@ -131,7 +135,9 @@ classinfo * classcache_store_defined(classinfo *cls);
 
 bool classcache_add_constraint(classloader *a,classloader *b,utf *classname);
 
-void classcache_debug_dump(FILE *file);
+#ifndef NDEBUG
+void classcache_debug_dump(FILE *file,utf *only);
+#endif
        
 #endif /* _CLASSCACHE_H */