1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 21:35:06 +00:00
serenity/Userland/Libraries/LibWasm/AbstractMachine
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.cpp LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
AbstractMachine.h LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
BytecodeInterpreter.cpp LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
BytecodeInterpreter.h LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
Configuration.cpp AK: Move memory streams from LibCore 2023-01-29 19:16:44 -07:00
Configuration.h LibWasm: Replace the numeric operation macros with templated functions 2021-08-12 21:03:53 +02:00
Interpreter.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Operators.h LibWasm: Split SaturatingTruncate conversion function by float/non-float 2022-12-25 07:58:58 -07:00
Validator.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Validator.h LibWasm: Remove declarations for non-existent methods 2023-01-27 20:33:18 +00:00