mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
LibJS: Move the empty object shape from Interpreter to GlobalObject
The big remaining hurdle before a GlobalObject-agnostic Interpreter is the fact that Interpreter owns and vends the GlobalObject :^)
This commit is contained in:
parent
75f6454de7
commit
3072f9fd82
5 changed files with 13 additions and 7 deletions
|
@ -139,8 +139,6 @@ public:
|
|||
return m_call_stack.last().this_value;
|
||||
}
|
||||
|
||||
Shape* empty_object_shape() { return m_empty_object_shape; }
|
||||
|
||||
Exception* exception()
|
||||
{
|
||||
return m_exception;
|
||||
|
@ -171,7 +169,6 @@ private:
|
|||
Vector<ScopeFrame> m_scope_stack;
|
||||
Vector<CallFrame> m_call_stack;
|
||||
|
||||
Shape* m_empty_object_shape { nullptr };
|
||||
Object* m_global_object { nullptr };
|
||||
|
||||
Exception* m_exception { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue