tree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids here.

2012-11-30  Richard Biener  <rguenther@suse.de>

	* tree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids
	here.

From-SVN: r193993
This commit is contained in:
Richard Biener 2012-11-30 12:46:00 +00:00 committed by Richard Biener
parent bb35348a1b
commit 5ba5e8ecc3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-11-30 Richard Biener <rguenther@suse.de>
* tree-ssa-pre.c (get_expr_value_id): Do not allocate value-ids
here.
2012-11-30 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (run_scc_vn): Remove iteration propagating

View File

@ -616,7 +616,7 @@ get_expr_value_id (pre_expr expr)
switch (expr->kind)
{
case CONSTANT:
id = get_or_alloc_constant_value_id (PRE_EXPR_CONSTANT (expr));
id = get_constant_value_id (PRE_EXPR_CONSTANT (expr));
break;
case NAME:
id = VN_INFO (PRE_EXPR_NAME (expr))->value_id;