Commit 9cf1766f by Jeff Law Committed by Jeff Law

Re: [PATCH] Update SSA_NAME manager to use two lists

	* tree-ssanames.c (flush_ssaname_freelist): Use splice and truncate
	rather than moving each name to the freelist individually.

From-SVN: r228668
parent 4c926b8a
2015-10-09 Jeff Law <law@redhat.com>
* tree-ssanames.c (flush_ssaname_freelist): Use splice and truncate
rather than moving each name to the freelist individually.
2015-10-09 Steve Ellcey <sellcey@imgtec.com>
* config.gcc (mips*-*-*): Add frame-header-opt.o to extra_objs.
......@@ -127,11 +127,8 @@ ssanames_print_statistics (void)
void
flush_ssaname_freelist (void)
{
while (!vec_safe_is_empty (FREE_SSANAMES_QUEUE (cfun)))
{
tree t = FREE_SSANAMES_QUEUE (cfun)->pop ();
vec_safe_push (FREE_SSANAMES (cfun), t);
}
vec_safe_splice (FREE_SSANAMES (cfun), FREE_SSANAMES_QUEUE (cfun));
vec_safe_truncate (FREE_SSANAMES_QUEUE (cfun), 0);
}
/* Return an SSA_NAME node for variable VAR defined in statement STMT
......
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