From 245c3c04af3e4f256615b0e68c7a14a77a91d6d2 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Fri, 16 Apr 2004 16:27:19 +0000 Subject: prims.cc (_Jv_AllocObject): Remove `size' argument. libjava: 2004-04-15 Bryce McKinlay * prims.cc (_Jv_AllocObject): Remove `size' argument. (_Jv_AllocObjectNoFinalizer): Likewise. (_Jv_AllocObjectNoInitNoFinalizer): Likewise. (_Jv_AllocPtrFreeObject): Likewise. (_Jv_AllocString): Moved from natString.cc. Call collector interface directly even in the JVMPI case. * gcj/cni.h (JvAllocObject): Remove `size' argument from _Jv_AllocObject calls. * gcj/javaprims.h: Update prototypes. * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject. * java/lang/Class.h: Update _Jv_AllocObject friend prototype. * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc. gcc/cp: 2004-04-15 Bryce McKinlay * init.c (build_new_1): Don't use type size argument for Java _Jv_AllocObject call. gcc/java: 2004-04-15 Bryce McKinlay * expr.c (expand_java_NEW): Don't use size argument for _Jv_AllocObject calls. * parse.y (patch_invoke): Likewise. From-SVN: r80754 --- libjava/java/lang/Class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/java/lang/Class.h') diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h index 1577628..b8a8d90 100644 --- a/libjava/java/lang/Class.h +++ b/libjava/java/lang/Class.h @@ -286,7 +286,7 @@ private: friend jfieldID JvGetFirstStaticField (jclass); friend jint JvNumStaticFields (jclass); - friend jobject _Jv_AllocObject (jclass, jint); + friend jobject _Jv_AllocObject (jclass); friend void *_Jv_AllocObj (jint, jclass); friend void *_Jv_AllocPtrFreeObj (jint, jclass); friend void *_Jv_AllocArray (jint, jclass); -- cgit v1.1