mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
The bytecode interpreter can execute generator functions while the AST interpreter cannot. This simply makes it create a new bytecode interpreter when one doesn't exist when executing a generator function. Doing so makes it automatically switch to the bytecode interpreter to execute any future code until it exits the generator.
43 KiB
43 KiB