aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-io.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1998-12-12 11:25:01 -0800
committerPer Bothner <bothner@gcc.gnu.org>1998-12-12 11:25:01 -0800
commitfdec99c620f7f3eed47df81498b303cfc2e58f49 (patch)
treedfc11d7c104023d713f597a70153320b359eaed2 /gcc/java/jcf-io.c
parentdf1e6be5cc6dd6f008825fcf3076c7a84f7cb3d4 (diff)
downloadgcc-fdec99c620f7f3eed47df81498b303cfc2e58f49.zip
gcc-fdec99c620f7f3eed47df81498b303cfc2e58f49.tar.gz
gcc-fdec99c620f7f3eed47df81498b303cfc2e58f49.tar.bz2
expr.c (encode_newarray_type, [...]): New functions.
d * expr.c (encode_newarray_type, build_new_array): New functions. * java-tree.h: Declare build_new_array. * jcf-write.c (patch_newarray): Use build_new_array. * expr.c (java_lang_expand_exp): Support NEW_ARRAY_INIT. * jcf-write.c (generate_bytecode_insns): Support NEW_ARRAY_INIT. * parse.y (patch_new_array_init): Re-organize. Now is passed the actual array (pointer) type of the value. Set the type of the CONSTRUCTOR to be an ARRAY_TYPE. (patch_array_constructor): Removed - merged into patch_new_array_init. (java_complete_tree): Update patch_new_array_init. * jcf-write.c (find_constant_index): New function. (generate_bytecode_insns): Use find_constant_index. (generate_classfile): Use find_constant_index for ConstantValue. From-SVN: r24273
Diffstat (limited to 'gcc/java/jcf-io.c')
0 files changed, 0 insertions, 0 deletions