mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibJS/JIT: Support the EnterObjectEnvironment bytecode instruction
We can now use `with` statements in jitted code. :^)
This commit is contained in:
parent
cfdb8a2756
commit
cb7169d73f
Notes:
sideshowbarker
2024-07-17 03:03:44 +09:00
Author: https://github.com/awesomekling
Commit: cb7169d73f
Pull-request: https://github.com/SerenityOS/serenity/pull/21905
4 changed files with 26 additions and 5 deletions
|
@ -76,6 +76,8 @@ public:
|
|||
void leave_unwind_context();
|
||||
void catch_exception();
|
||||
|
||||
void enter_object_environment(Object&);
|
||||
|
||||
Executable& current_executable() { return *m_current_executable; }
|
||||
Executable const& current_executable() const { return *m_current_executable; }
|
||||
BasicBlock const& current_block() const { return *m_current_block; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue