Commit 9af0d5ef by Jan Hubicka Committed by Jan Hubicka

* ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo.

From-SVN: r276597
parent 924b9276
2019-10-04 Jan Hubicka <hubicka@ucw.cz>
* ipa-inline.c (inline_insns_single, inline_insns_auto): Fix typo.
2019-10-04 Rafael Tsuha <rafael.tsuha@usp.br>
* match.pd (sinh (x) / cosh (x)): New simplification rule.
......
......@@ -396,7 +396,7 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
static int
inline_insns_single (cgraph_node *n, bool hint)
{
if (opt_for_fn (n->decl, optimize >= 3))
if (opt_for_fn (n->decl, optimize) >= 3)
{
if (hint)
return PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE)
......@@ -418,7 +418,7 @@ inline_insns_single (cgraph_node *n, bool hint)
static int
inline_insns_auto (cgraph_node *n, bool hint)
{
if (opt_for_fn (n->decl, optimize >= 3))
if (opt_for_fn (n->decl, optimize) >= 3)
{
if (hint)
return PARAM_VALUE (PARAM_MAX_INLINE_INSNS_AUTO)
......
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