Generates an inline function body for a function declaration if it doesn't have any.