summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-15 05:32:21 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-15 05:32:21 +0000
commited922fcaa9108acc9a3e0cf6edd8efb8865206db (patch)
tree3fe8e7f99bfddf976a2628a9e0117b0310c754fd
parent725cd5ad872cb08ea2a0c8d5622c07e0a65dbbba (diff)
downloadlinaro-gcc-ed922fcaa9108acc9a3e0cf6edd8efb8865206db.tar.gz
linaro-gcc-ed922fcaa9108acc9a3e0cf6edd8efb8865206db.tar.bz2
linaro-gcc-ed922fcaa9108acc9a3e0cf6edd8efb8865206db.zip
* expr.c: Remove the last argument to expand_assignment().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69380 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/expr.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index fba4f04110b..07f5bcc937c 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
+
+ * expr.c: Remove the last argument to expand_assignment().
+
Wed Jul 9 02:29:15 CEST 2003 Jan Hubicka <jh@suse.cz>
* java-tree.h (DECL_NUM_STMTS): Rename to...
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 0e97e986122..5cf855c8243 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -232,7 +232,7 @@ flush_quick_stack (void)
decl = find_stack_slot (stack_index, type);
if (decl != node)
- expand_assignment (decl, node, 0, 0);
+ expand_assignment (decl, node, 0);
stack_index += 1 + TYPE_IS_WIDE (type);
}
}
@@ -986,7 +986,7 @@ expand_java_arraystore (tree rhs_type_node)
expand_assignment (build_java_arrayaccess (array,
rhs_type_node,
index),
- rhs_node, 0, 0);
+ rhs_node, 0);
}
/* Expand the evaluation of ARRAY[INDEX]. build_java_check_indexed_type makes
@@ -1273,7 +1273,7 @@ expand_iinc (unsigned int local_var_index, int ival, int pc)
local_var = find_local_variable (local_var_index, int_type_node, pc);
constant_value = build_int_2 (ival, ival < 0 ? -1 : 0);
res = fold (build (PLUS_EXPR, int_type_node, local_var, constant_value));
- expand_assignment (local_var, res, 0, 0);
+ expand_assignment (local_var, res, 0);
}
@@ -2350,7 +2350,7 @@ expand_java_field_op (int is_static, int is_putting, int field_ref_index)
warning_with_decl (field_decl, "assignment to final field `%s' not in constructor");
}
}
- expand_assignment (field_ref, new_value, 0, 0);
+ expand_assignment (field_ref, new_value, 0);
}
else
push_value (field_ref);
@@ -2461,7 +2461,7 @@ java_expand_expr (tree exp, rtx target, enum machine_mode tmode,
expand_decl (array_decl);
tmp = expand_assignment (array_decl,
build_new_array (element_type, length),
- 1, 0);
+ 1);
if (TREE_CONSTANT (init)
&& ilength >= 10 && JPRIMITIVE_TYPE_P (element_type))
{
@@ -2480,7 +2480,7 @@ java_expand_expr (tree exp, rtx target, enum machine_mode tmode,
expand_assignment (build (COMPONENT_REF, TREE_TYPE (data_fld),
build_java_indirect_ref (array_type,
array_decl, flag_check_references),
- data_fld), init, 0, 0);
+ data_fld), init, 0);
return tmp;
}
case BLOCK:
@@ -3091,7 +3091,7 @@ process_jvm_instruction (int PC, const unsigned char* byte_ops,
type = TREE_TYPE (value); \
decl = find_local_variable (var, type, oldpc); \
set_local_type (var, type ); \
- expand_assignment (decl, value, 0, 0); \
+ expand_assignment (decl, value, 0); \
}
#define STORE(OPERAND_TYPE, OPERAND_VALUE) \