This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: core changes for mep port
> > if (targetm.disallow_inlining_p (node->decl, decl))
> > return false;
> >
> > if (targetm.disallow_call_p (current_function_decl, function))
> > return error_mark_node;
>
> I don't see a real problem with this, but I would prefer to see
> "allow_XX" rather than "disallow_XX". It's easier to understand code
> which is expressed in the positive.
Ok. Where is the best place to put these? Most of today's inline
logic only looks at the callee, not both the caller and callee.