leaf function
A function that calls no other function.
A leaf function makes no calls, so it need not save a link register, often needs no frame, and on System V x86-64 may keep locals in the red zone without moving rsp.
Examples
int sq(int x) { return x * x; }calls nothing, so it needs no stack frame.
See also