1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:12:08 +00:00

LibJS: Implement bytecode generation for For-In/Of statements

This also implements the rather interesting behaviour that #12772 relies
on, so this fixes that bug in BC mode (the AST interp remains affected).
This commit is contained in:
Ali Mohammad Pur 2022-03-18 20:18:19 +03:30 committed by Andreas Kling
parent 83afc1154c
commit 8f7021faf7
6 changed files with 454 additions and 15 deletions

View file

@ -31,6 +31,7 @@
O(GetById) \
O(GetByValue) \
O(GetIterator) \
O(GetObjectPropertyIterator) \
O(GetVariable) \
O(GreaterThan) \
O(GreaterThanEquals) \