Commit e59d6709 by Jakub Jelinek Committed by Jakub Jelinek

optimize.c (expand_call_inline): Only add newly inlined statements into inlined_stmts.

	* optimize.c (expand_call_inline): Only add newly inlined statements
	into inlined_stmts.

From-SVN: r41081
parent e33427fa
2001-04-04 Jakub Jelinek <jakub@redhat.com>
* optimize.c (expand_call_inline): Only add newly inlined statements
into inlined_stmts.
2001-04-03 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (OPERATOR_ASSIGN_FORMAT): Remove.
......
......@@ -862,7 +862,7 @@ expand_call_inline (tp, walk_subtrees, data)
/* Our function now has more statements than it did before. */
DECL_NUM_STMTS (VARRAY_TREE (id->fns, 0)) += DECL_NUM_STMTS (fn);
id->inlined_stmts += DECL_NUM_STMTS (VARRAY_TREE (id->fns, 0));
id->inlined_stmts += DECL_NUM_STMTS (fn);
/* Recurse into the body of the just inlined function. */
expand_calls_inline (inlined_body, id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment