diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1998-08-20 09:43:58 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-08-20 09:43:58 -0700 |
commit | 743f140d46759b39745c55bd081b1e92b6335ffc (patch) | |
tree | 3e43247679622880e247c3fa4cc949fd1bc5729e /gcc/expr.c | |
parent | d35897f502c40ab304aca5159831bd9db62e0cff (diff) | |
download | gcc-743f140d46759b39745c55bd081b1e92b6335ffc.zip gcc-743f140d46759b39745c55bd081b1e92b6335ffc.tar.gz gcc-743f140d46759b39745c55bd081b1e92b6335ffc.tar.bz2 |
Handle new'ing of Java classes.
d
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: r21879
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions