1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries/LibWasm
Ali Mohammad Pur 6b50f23242 LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result
Imported functions in Wasm may throw JS exceptions, and we need to
preserve these exceptions so we can pass them to the calling JS code.

This also adds a `assert_wasm_result()` API to Result for cases where
only Wasm traps or values are expected (e.g. internal uses) to avoid
making LibWasm (pointlessly) handle JS exceptions that will never show
up in reality.
2023-02-26 10:54:23 +03:30
..
AbstractMachine LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
Parser Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
Printer Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
Tests Meta+LibWasm: Add support for module linking tests 2021-06-22 00:26:25 +04:30
CMakeLists.txt LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
Constants.h LibWasm: Allow vectors of up to 500M entries 2022-10-24 15:54:20 +02:00
Forward.h LibWasm: Implement module validation 2021-11-11 09:20:04 +01:00
Opcode.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
Types.h Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00