1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:37:35 +00:00

LibJS/JIT: Support the EnterObjectEnvironment bytecode instruction

We can now use `with` statements in jitted code. :^)
This commit is contained in:
Andreas Kling 2023-11-12 00:12:21 +01:00
parent cfdb8a2756
commit cb7169d73f
4 changed files with 26 additions and 5 deletions

View file

@ -86,6 +86,7 @@ private:
O(Catch, catch) \
O(CreateLexicalEnvironment, create_lexical_environment) \
O(LeaveLexicalEnvironment, leave_lexical_environment) \
O(EnterObjectEnvironment, enter_object_environment) \
O(ToNumeric, to_numeric) \
O(ResolveThisBinding, resolve_this_binding) \
O(Return, return) \