Ali Mohammad Pur
83995ada1f
LibWasm: Quit early in memory_fill if store_to_memory traps
...
We shouldn't try to run the next 'instruction' if we trap.
Unbreaks the memory-fill test in wpt.
2025-05-22 07:35:58 +01:00
Ali Mohammad Pur
bfc1ebb2d4
LibWasm: Disable spammy 'memory access oob' debug prints
2025-05-22 07:35:58 +01:00
Ali Mohammad Pur
d79d5b70a5
LibWasm: Validate indirect calls at runtime
...
This is required by the spec, and also unbreaks all of the call-indirect
wpt tests.
2025-05-22 07:35:58 +01:00
Ali Mohammad Pur
39b637a446
LibWasm+LibWeb: Throw a js stack-overflow error if wasm stack overflows
...
Follows the spec.
2025-05-22 07:35:58 +01:00
Tim Ledbetter
58ffc56c38
LibWas: Unbreak compilation with WASM_TRACE_DEBUG
enabled
2025-05-19 10:20:40 +01:00
Timothy Flynn
7280ed6312
Meta: Enforce newlines around namespaces
...
This has come up several times during code review, so let's just enforce
it using a new clang-format 20 option.
2025-05-14 02:01:59 -06:00
Ali Mohammad Pur
51bab5b186
LibWasm: Make traps hold on to externally-managed data
...
...instead of specially handling JS::Completion.
This makes it possible for LibWeb/LibJS to have full control over how
these things are made, stored, and visited (whenever).
Fixes an issue where we couldn't roundtrip a JS exception through Wasm.
2025-04-22 08:43:46 -06:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00