+2004-11-22 Daniel Berlin <dberlin@dberlin.org>
+
+ * df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's
+ always the same as op1. Use bitmap_ior_into and bitmap_and_into.
+ Add comment to function.
+
2004-11-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR pch/14940
}
\f
+/* Perform the set operation OP1 OP OP2, using set representation REPR, and
+ storing the result in OP1. */
+
static void
dataflow_set_a_op_b (enum set_representation repr,
enum df_confluence_op op,
- void *rslt, void *op1, void *op2)
+ void *op1, void *op2)
{
switch (repr)
{
switch (op)
{
case DF_UNION:
- sbitmap_a_or_b (rslt, op1, op2);
+ sbitmap_a_or_b (op1, op1, op2);
break;
case DF_INTERSECTION:
- sbitmap_a_and_b (rslt, op1, op2);
+ sbitmap_a_and_b (op1, op1, op2);
break;
default:
switch (op)
{
case DF_UNION:
- bitmap_ior (rslt, op1, op2);
+ bitmap_ior_into (op1, op2);
break;
case DF_INTERSECTION:
- bitmap_and (rslt, op1, op2);
+ bitmap_and_into (op1, op2);
break;
default:
continue; \
\
dataflow_set_a_op_b (dataflow->repr, dataflow->conf_op, \
- IN_SET[i], IN_SET[i], \
+ IN_SET[i], \
OUT_SET[e->E_ANTI_BB->index]); \
} \
\