Commit 82e45095 by DJ Delorie Committed by DJ Delorie

* config/mep/mep.c (mep_can_inline_p): Correct logic, and simplify.

From-SVN: r149507
parent 34b736c1
2009-07-10 DJ Delorie <dj@redhat.com>
* config/mep/mep.c (mep_can_inline_p): Correct logic, and simplify.
2009-07-10 Mark Mitchell <mark@codesourcery.com> 2009-07-10 Mark Mitchell <mark@codesourcery.com>
* config/arm/thumb2.md (thumb2_cbz): Correct computation of length * config/arm/thumb2.md (thumb2_cbz): Correct computation of length
......
...@@ -4115,14 +4115,12 @@ mep_can_inline_p (tree caller, tree callee) ...@@ -4115,14 +4115,12 @@ mep_can_inline_p (tree caller, tree callee)
if (TREE_CODE (callee) == ADDR_EXPR) if (TREE_CODE (callee) == ADDR_EXPR)
callee = TREE_OPERAND (callee, 0); callee = TREE_OPERAND (callee, 0);
if (TREE_CODE (callee) == FUNCTION_DECL if (!mep_vliw_function_p (caller)
&& DECL_DECLARED_INLINE_P (callee)
&& !mep_vliw_function_p (caller)
&& mep_vliw_function_p (callee)) && mep_vliw_function_p (callee))
{ {
return true; return false;
} }
return false; return true;
} }
#define FUNC_CALL 1 #define FUNC_CALL 1
......
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