mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +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
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