1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibJS/Bytecode: Add constants table to Bytecode::Executable

This commit is contained in:
Andreas Kling 2024-02-02 09:52:25 +01:00
parent 3466771492
commit e46de4eb59
4 changed files with 16 additions and 0 deletions

View file

@ -51,6 +51,7 @@ public:
NonnullOwnPtr<IdentifierTable>,
NonnullOwnPtr<StringTable>,
NonnullOwnPtr<RegexTable>,
Vector<Value> constants,
NonnullRefPtr<SourceCode const>,
size_t number_of_property_lookup_caches,
size_t number_of_global_variable_caches,
@ -69,6 +70,7 @@ public:
NonnullOwnPtr<StringTable> string_table;
NonnullOwnPtr<IdentifierTable> identifier_table;
NonnullOwnPtr<RegexTable> regex_table;
Vector<Value> constants;
NonnullRefPtr<SourceCode const> source_code;
size_t number_of_registers { 0 };