mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibJS: Move well-known symbols to the VM
No need to instantiate unique symbols for each Interpreter; they can be VM-global. This reduces the memory cost and startup time anyway.
This commit is contained in:
parent
676cb87a8f
commit
d1b58ee9ad
20 changed files with 60 additions and 52 deletions
|
@ -52,5 +52,6 @@ private:
|
|||
|
||||
Symbol* js_symbol(Heap&, String description, bool is_global);
|
||||
Symbol* js_symbol(Interpreter&, String description, bool is_global);
|
||||
Symbol* js_symbol(VM&, String description, bool is_global);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue