diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-07-18 13:17:03 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-07-18 13:17:03 +0000 |
commit | 94cdeb1ad33b77f10f4cbc56bbce5d5f9c6b703c (patch) | |
tree | 1f13dfd1858fc89f9b7558e0830a0adc266edb2b /gcc/java/constants.c | |
parent | 3d23e0184a2917a9e5b1ef56b7a3c99d6398f08d (diff) | |
download | gcc-94cdeb1ad33b77f10f4cbc56bbce5d5f9c6b703c.zip gcc-94cdeb1ad33b77f10f4cbc56bbce5d5f9c6b703c.tar.gz gcc-94cdeb1ad33b77f10f4cbc56bbce5d5f9c6b703c.tar.bz2 |
builtins.c (max_builtin, [...]): Replace calls to build with buildN.
* builtins.c (max_builtin, min_builtin,
java_build_function_call_expr): Replace calls to build with buildN.
* class.c (build_class_ref, build_static_field_ref,
get_dispatch_table, make_class_data, layout_class_method): Likewise.
* constants.c (build_ref_from_constant_pool): Likewise.
* decl.c (update_aliases, push_jvm_slot, poplevel, finish_method,
add_stmt_to_compound): Likewise.
* except.c (build_exception_object_ref, expand_end_java_handler):
Likewise.
* java-gimplify.c (java_gimplify_case_expr,
java_gimplify_default_expr, java_gimplify_block,
java_gimplify_new_array_init, java_gimplify_try_expr): Likewise.
* jcf-write.c (generate_bytecode_insns): Likewise.
* typeck.c (convert_ieee_real_to_integer): Likewise.
From-SVN: r84894
Diffstat (limited to 'gcc/java/constants.c')
-rw-r--r-- | gcc/java/constants.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/constants.c b/gcc/java/constants.c index fc4a7a3..d844772 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -425,8 +425,8 @@ build_ref_from_constant_pool (int index) { tree d = build_constant_data_ref (); tree i = build_int_2 (index, 0); - return build (ARRAY_REF, TREE_TYPE (TREE_TYPE (d)), d, i, - NULL_TREE, NULL_TREE); + return build4 (ARRAY_REF, TREE_TYPE (TREE_TYPE (d)), d, i, + NULL_TREE, NULL_TREE); } /* Build an initializer for the constants field of the current constant pool. |