diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1998-08-20 09:44:01 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-08-20 09:44:01 -0700 |
commit | 824f42abafb7f57ac2c25f329640b58eacbd7370 (patch) | |
tree | e9958d1dffda7ecf64ebef1ddf9f812af983e302 /gcc/expr.c | |
parent | f668f16016466557738402723df012f81a588ae7 (diff) | |
download | gcc-824f42abafb7f57ac2c25f329640b58eacbd7370.zip gcc-824f42abafb7f57ac2c25f329640b58eacbd7370.tar.gz gcc-824f42abafb7f57ac2c25f329640b58eacbd7370.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: r21881
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions