diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-01 18:04:42 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-01 18:04:42 +0000 |
commit | 627624f79e1a99392799281be815b504014a1987 (patch) | |
tree | f84e9456b641e477dd7ac93534fec7e9caea9a9b /gcc/java/java-gimplify.c | |
parent | cfe95071237e3e03a86811a4bd92575623ec3f28 (diff) | |
download | gcc-627624f79e1a99392799281be815b504014a1987.tar.gz |
* decl.c (update_aliases, initialize_local_variable): Replace calls
to build with calls to buildN.
* java-gimplify.c (java_gimplify_modify_expr): Likewise.
* java-tree.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Likewise.
* parse.h (BUILD_THROW): Likewise.
* parse.y (switch_expression, synchronized_statement,
catch_clause_parameter, array_creation_expression,
conditional_expression, make_qualified_name,
resolve_qualified_expression_name, patch_method_invocation,
patch_invoke, build_method_invocation, build_new_invocation,
build_assignment, patch_assignment, build_binop, patch_binop,
build_string_concatenation, build_incdec, patch_unaryop,
patch_cast, build_array_ref, build_newarray_node, patch_newarray,
patch_return, build_if_else_statement, build_labeled_block,
build_new_loop, build_loop_body, build_bc_statement,
build_assertion, encapsulate_with_try_catch, build_try_statement,
build_try_finally_statement, patch_synchronized_statement,
emit_test_initialization): Likewise, replace build with buildN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-gimplify.c')
-rw-r--r-- | gcc/java/java-gimplify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c index eb277f8caec..5dd69bf40fe 100644 --- a/gcc/java/java-gimplify.c +++ b/gcc/java/java-gimplify.c @@ -174,8 +174,8 @@ java_gimplify_modify_expr (tree modify_expr) { tree new_lhs = java_replace_reference (lhs, /* want_lvalue */ true); tree new_rhs = build1 (NOP_EXPR, TREE_TYPE (new_lhs), rhs); - modify_expr = build (MODIFY_EXPR, TREE_TYPE (new_lhs), - new_lhs, new_rhs); + modify_expr = build2 (MODIFY_EXPR, TREE_TYPE (new_lhs), + new_lhs, new_rhs); modify_expr = build1 (NOP_EXPR, lhs_type, modify_expr); } |