Currently, the generator body (and also async function body) is compiled as a separate function from the user-visible generator wrapper. This is inconvenient for the front-end in some minor ways.