* config/mep/mep.c (mep_can_inline_p): Correct logic, and simplify.
From-SVN: r149507
This commit is contained in:
parent
34b736c155
commit
82e4509550
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* config/arm/thumb2.md (thumb2_cbz): Correct computation of length
|
||||
|
@ -4115,14 +4115,12 @@ mep_can_inline_p (tree caller, tree callee)
|
||||
if (TREE_CODE (callee) == ADDR_EXPR)
|
||||
callee = TREE_OPERAND (callee, 0);
|
||||
|
||||
if (TREE_CODE (callee) == FUNCTION_DECL
|
||||
&& DECL_DECLARED_INLINE_P (callee)
|
||||
&& !mep_vliw_function_p (caller)
|
||||
if (!mep_vliw_function_p (caller)
|
||||
&& mep_vliw_function_p (callee))
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
#define FUNC_CALL 1
|
||||
|
Loading…
Reference in New Issue
Block a user