Commits
Click on a commit to change the comparison rangeperf(semantic): remove function stack (#12676)
Only purpose of `function_stack` in `SemanticBuilder` is to track the current function, in order to set `NodeFlags::HasYield` on it if it contains `yield`.
#12630 moved enter and exit logic into `visit_function`. So now we don't need a `Stack` to track the current function, we can use vars on the actual stack.
Also, it's unnecessary to update current function when entering/exiting arrow functions, as they can't contain `yield`.4 months ago
by overlookmotel