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

LibJS: Keep current exception in a call frame register

Instead of keeping it in a Bytecode::Interpreter member, move it into
a dedicated call frame register.
This commit is contained in:
Andreas Kling 2023-09-26 11:57:42 +02:00
parent ebb822def9
commit 3887b840a3
4 changed files with 20 additions and 20 deletions

View file

@ -252,7 +252,7 @@ private:
NonnullOwnPtr<IdentifierTable> m_identifier_table;
NonnullOwnPtr<RegexTable> m_regex_table;
u32 m_next_register { 2 };
u32 m_next_register { 3 };
u32 m_next_block { 1 };
u32 m_next_property_lookup_cache { 0 };
u32 m_next_global_variable_cache { 0 };