ladybird/Userland/Libraries/LibWeb/WebAssembly
Linus Groh 9d0d3affd4 LibJS: Replace the custom unwind mechanism with completions :^)
This includes:

- Parsing proper LabelledStatements with try_parse_labelled_statement()
- Removing LabelableStatement
- Implementing the LoopEvaluation semantics via loop_evaluation() in
  each IterationStatement subclass; and IterationStatement evaluation
  via {For,ForIn,ForOf,ForAwaitOf,While,DoWhile}Statement::execute()
- Updating ReturnStatement, BreakStatement and ContinueStatement to
  return the appropriate completion types
- Basically reimplementing TryStatement and SwitchStatement according to
  the spec, using completions
- Honoring result completion types in AsyncBlockStart and
  OrdinaryCallEvaluateBody
- Removing any uses of the VM unwind mechanism - most importantly,
  VM::throw_exception() now exclusively sets an exception and no longer
  triggers any unwinding mechanism.
  However, we already did a good job updating all of LibWeb and userland
  applications to not use it, and the few remaining uses elsewhere don't
  rely on unwinding AFAICT.
2022-01-06 12:36:23 +01:00
..
WebAssemblyInstanceConstructor.cpp LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyInstanceConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyInstanceObject.cpp LibWeb: Make GlobalObject the first parameter of WebAssembly AOs 2021-10-31 18:20:37 +02:00
WebAssemblyInstanceObject.h LibWeb: Split the WebAssemblyInstance object logic into multiple files 2021-07-02 04:53:01 +04:30
WebAssemblyInstanceObjectPrototype.cpp LibWeb: Convert WebAssemblyInstancePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyInstanceObjectPrototype.h LibWeb: Convert WebAssemblyInstancePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyMemoryConstructor.cpp LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyMemoryConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyMemoryPrototype.cpp LibWeb: Convert WebAssemblyMemoryPrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyMemoryPrototype.h LibWeb: Convert WebAssemblyMemoryPrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyModuleConstructor.cpp LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyModuleConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyModuleObject.cpp LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModuleObject.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyModulePrototype.h LibWeb: Add the WebAssembly.Module constructor 2021-07-02 04:53:01 +04:30
WebAssemblyObject.cpp LibJS: Replace the custom unwind mechanism with completions :^) 2022-01-06 12:36:23 +01:00
WebAssemblyObject.h LibWeb: Convert WebAssemblyObject functions to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyTableConstructor.cpp LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyTableConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
WebAssemblyTableObject.cpp LibWeb+LibWasm: Implement the WebAssembly.Table object 2021-09-05 15:42:50 +04:30
WebAssemblyTableObject.h LibWeb+LibWasm: Implement the WebAssembly.Table object 2021-09-05 15:42:50 +04:30
WebAssemblyTablePrototype.cpp LibWeb: Convert WebAssemblyTablePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00
WebAssemblyTablePrototype.h LibWeb: Convert WebAssemblyTablePrototype funcs to ThrowCompletionOr 2021-10-31 18:20:37 +02:00