diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1998-08-20 09:43:59 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-08-20 09:43:59 -0700 |
commit | f668f16016466557738402723df012f81a588ae7 (patch) | |
tree | 7c021b2b3d1931bde74d15734bbaad9cbde4d179 /gcc/expr.c | |
parent | 743f140d46759b39745c55bd081b1e92b6335ffc (diff) | |
download | gcc-f668f16016466557738402723df012f81a588ae7.zip gcc-f668f16016466557738402723df012f81a588ae7.tar.gz gcc-f668f16016466557738402723df012f81a588ae7.tar.bz2 |
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: r21880
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions