summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-analysis.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-02 17:38:53 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-02 17:38:53 +0000
commit64cd30694b36eb1f6f723f6b1cf7fb6047163a9c (patch)
tree4067dd19dce82ae444fcaef92df21f11859499ea /gcc/ipa-inline-analysis.c
parentdb359ab807bbabf13a0663ae43c16b888c932d7a (diff)
downloadgcc-64cd30694b36eb1f6f723f6b1cf7fb6047163a9c.tar.gz
* ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert
accidental change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235771 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
-rw-r--r--gcc/ipa-inline-analysis.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c
index a2f31285506..4fbc2eddace 100644
--- a/gcc/ipa-inline-analysis.c
+++ b/gcc/ipa-inline-analysis.c
@@ -850,8 +850,7 @@ evaluate_conditions_for_known_args (struct cgraph_node *node,
if (known_aggs.exists ())
{
agg = known_aggs[c->operand_num];
- val = ipa_find_agg_cst_for_param (agg, known_vals[c->operand_num],
- c->offset, c->by_ref);
+ val = ipa_find_agg_cst_for_param (agg, c->offset, c->by_ref);
}
else
val = NULL_TREE;