callee-call-countThe callee makes more calls than the inline call-count budget allows
Reported by --explain after a verdict.
mettle explain callee-call-count
The callee's body is small enough, but it is mostly calls to other functions: a glue routine that orchestrates helpers. Inlining one of those copies the orchestration into the caller and gains nothing, since the calls it makes are still calls.
Fix: mark the callee @inline to override the cap, where the caller really does benefit from seeing through the glue.
Related
- callee-no-bodyThe callee has no body to inline
- callee-noinlineThe callee is marked @noinline
- callee-denylistedThe callee is on the compiler's inline denylist
- too-many-parametersThe callee takes more than 16 parameters
- callee-parameter-namesThe callee's parameter names are unavailable
- callee-over-budgetThe callee's body is over the inline size budget
- callee-inline-asmThe callee contains inline assembly
- callee-has-loopThe callee's loop body is over the inline size budget