* 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>
|
Wed Jul 9 02:29:15 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* java-tree.h (DECL_NUM_STMTS): Rename to...
|
* java-tree.h (DECL_NUM_STMTS): Rename to...
|
||||||
|
@ -232,7 +232,7 @@ flush_quick_stack (void)
|
|||||||
|
|
||||||
decl = find_stack_slot (stack_index, type);
|
decl = find_stack_slot (stack_index, type);
|
||||||
if (decl != node)
|
if (decl != node)
|
||||||
expand_assignment (decl, node, 0, 0);
|
expand_assignment (decl, node, 0);
|
||||||
stack_index += 1 + TYPE_IS_WIDE (type);
|
stack_index += 1 + TYPE_IS_WIDE (type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -986,7 +986,7 @@ expand_java_arraystore (tree rhs_type_node)
|
|||||||
expand_assignment (build_java_arrayaccess (array,
|
expand_assignment (build_java_arrayaccess (array,
|
||||||
rhs_type_node,
|
rhs_type_node,
|
||||||
index),
|
index),
|
||||||
rhs_node, 0, 0);
|
rhs_node, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Expand the evaluation of ARRAY[INDEX]. build_java_check_indexed_type makes
|
/* 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);
|
local_var = find_local_variable (local_var_index, int_type_node, pc);
|
||||||
constant_value = build_int_2 (ival, ival < 0 ? -1 : 0);
|
constant_value = build_int_2 (ival, ival < 0 ? -1 : 0);
|
||||||
res = fold (build (PLUS_EXPR, int_type_node, local_var, constant_value));
|
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");
|
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
|
else
|
||||||
push_value (field_ref);
|
push_value (field_ref);
|
||||||
@ -2461,7 +2461,7 @@ java_expand_expr (tree exp, rtx target, enum machine_mode tmode,
|
|||||||
expand_decl (array_decl);
|
expand_decl (array_decl);
|
||||||
tmp = expand_assignment (array_decl,
|
tmp = expand_assignment (array_decl,
|
||||||
build_new_array (element_type, length),
|
build_new_array (element_type, length),
|
||||||
1, 0);
|
1);
|
||||||
if (TREE_CONSTANT (init)
|
if (TREE_CONSTANT (init)
|
||||||
&& ilength >= 10 && JPRIMITIVE_TYPE_P (element_type))
|
&& 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),
|
expand_assignment (build (COMPONENT_REF, TREE_TYPE (data_fld),
|
||||||
build_java_indirect_ref (array_type,
|
build_java_indirect_ref (array_type,
|
||||||
array_decl, flag_check_references),
|
array_decl, flag_check_references),
|
||||||
data_fld), init, 0, 0);
|
data_fld), init, 0);
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
case BLOCK:
|
case BLOCK:
|
||||||
@ -3091,7 +3091,7 @@ process_jvm_instruction (int PC, const unsigned char* byte_ops,
|
|||||||
type = TREE_TYPE (value); \
|
type = TREE_TYPE (value); \
|
||||||
decl = find_local_variable (var, type, oldpc); \
|
decl = find_local_variable (var, type, oldpc); \
|
||||||
set_local_type (var, type ); \
|
set_local_type (var, type ); \
|
||||||
expand_assignment (decl, value, 0, 0); \
|
expand_assignment (decl, value, 0); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define STORE(OPERAND_TYPE, OPERAND_VALUE) \
|
#define STORE(OPERAND_TYPE, OPERAND_VALUE) \
|
||||||
|
Loading…
Reference in New Issue
Block a user