diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1998-12-12 11:24:56 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-12-12 11:24:56 -0800 |
commit | 05f9acdc49f4e8bfe9024ca431c481a0518c4842 (patch) | |
tree | 15f25c8d194ce13f9c2e504902076558bf03b6a0 /gcc/cpplib.c | |
parent | f35cba2192c45759a2141ae8ec4f0f64ddd9bcb2 (diff) | |
download | gcc-05f9acdc49f4e8bfe9024ca431c481a0518c4842.zip gcc-05f9acdc49f4e8bfe9024ca431c481a0518c4842.tar.gz gcc-05f9acdc49f4e8bfe9024ca431c481a0518c4842.tar.bz2 |
expr.c (encode_newarray_type, [...]): New functions.
* 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: r24271
Diffstat (limited to 'gcc/cpplib.c')
0 files changed, 0 insertions, 0 deletions