ladybird/Libraries/LibWeb/CodeGenerators
Andreas Kling 6861c619c6 LibJS: Move most of Interpreter into VM
This patch moves the exception state, call stack and scope stack from
Interpreter to VM. I'm doing this to help myself discover what the
split between Interpreter and VM should be, by shuffling things around
and seeing what falls where.

With these changes, we no longer have a persistent lexical environment
for the current global object on the Interpreter's call stack. Instead,
we push/pop that environment on Interpreter::run() enter/exit.
Since it should only be used to find the global "this", and not for
variable storage (that goes directly into the global object instead!),
I had to insert some short-circuiting when walking the environment
parent chain during variable lookup.

Note that this is a "stepping stone" commit, not a final design.
2020-09-27 20:26:58 +02:00
..
CMakeLists.txt LibWeb: Start generating JS wrappers from (simplified) WebIDL :^) 2020-06-21 00:58:55 +02:00
Generate_CSS_PropertyID_cpp.cpp LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
Generate_CSS_PropertyID_h.cpp LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^) 2020-07-21 16:23:08 +02:00
WrapperGenerator.cpp LibJS: Move most of Interpreter into VM 2020-09-27 20:26:58 +02:00