mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 04:04:42 +08:00
* expr.c: Remove the last argument to expand_assignment().
From-SVN: r69380
This commit is contained in:
parent
b90f141a9d
commit
683b1112af
@ -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...
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user