Skip to main content

tail_loop

Function tail_loop 

Source
pub fn tail_loop(entry: &FnDecl) -> bool
Expand description

Whether a function lifted from a loop calls itself only in tail position.

An emitter can then print those calls as the next iteration of a loop, so a loop of a million iterations needs no million stack frames.