mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
LibJS: Move global symbol map from SymbolObject to Interpreter
This allows different instances of the Interpreter to have their own global symbols. Also makes Symbol non-copyable and non-moveable.
This commit is contained in:
parent
4d8683b632
commit
d9db6bec42
6 changed files with 48 additions and 115 deletions
|
@ -32,6 +32,9 @@
|
|||
namespace JS {
|
||||
|
||||
class Symbol final : public Cell {
|
||||
AK_MAKE_NONCOPYABLE(Symbol)
|
||||
AK_MAKE_NONMOVABLE(Symbol)
|
||||
|
||||
public:
|
||||
Symbol(String, bool);
|
||||
virtual ~Symbol();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue