From: Per Bothner Date: Thu, 20 Aug 1998 16:44:03 +0000 (-0700) Subject: Handle new'ing of Java classes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a5c8e422c8e4f2e0acc52aae2a10a83de540fad;p=gcc.git Handle new'ing of Java classes. � Handle new'ing of Java classes. * init.c (build_class_classref): New function. (build_new_1): If type is TYPE_FOR_JAVA: Call _Jv_AllocObject; constructor does not return this; don't need to exception-protect. * pt.c (lookup_template_class): Copy TYPE_FOR_JAVA flag. * decl2.c (acceptable_java_type): Handle template-derived types. From-SVN: r21882 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 037bf2b1bb7..a9690d94d89 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +Thu Aug 20 16:39:09 1998 Per Bothner + + Handle new'ing of Java classes. + * init.c (build_class_classref): New function. + (build_new_1): If type is TYPE_FOR_JAVA: Call _Jv_AllocObject; + constructor does not return this; don't need to exception-protect. + + * pt.c (lookup_template_class): Copy TYPE_FOR_JAVA flag. + * decl2.c (acceptable_java_type): Handle template-derived types. + 1998-08-20 Per Bothner * decl2.c (import_export_vtable): Suppress vtables for Java classes.