Is there a way to determine in the code called as .emitfn if the
function being crafted is a leaf function? There are a lot of reasons
to know this, in order to generate efficient code.
tim
--
"When I was 5 years old, my mother always told me that happiness was the
key to life. When I went to school, they asked me what I wanted to be
when I grew up. I wrote down 'happy.' They told me I didn’t understand
the assignment. I told them they didn’t understand life.
-- John Lennon
On Sat, Apr 22, 2023, at 21:30, Tim Kelly wrote:
> Is there a way to determine in the code called as .emitfn if the
> function being crafted is a leaf function? There are a lot of reasons
> to know this, in order to generate efficient code.
No we currently don't track this information. Adding a
bit that's filled at parse time would solve that I
think.