Ali Mohammad Pur
d99f663b1a
LibWasm: Implement parsing/validation for proposal exception-handling
...
Actual execution traps for now.
2025-10-15 01:26:29 +02:00
Ali Mohammad Pur
8138c2f48b
LibWasm: Follow the updated spec on instantiation
...
The spec now permits access to all globals for all segment initializers,
as well as previously-defined globals for the global initializers.
2025-10-15 01:26:29 +02:00
Ali Mohammad Pur
ddb35dcb5f
LibWasm: Accept proposal 'memory64' (but don't actually run it)
...
This is a WIP implementation.
2025-10-15 01:26:29 +02:00
Ali Mohammad Pur
c0223befe1
LibWasm: Avoid frequent re/deallocations while validating expressions
...
Freeing and reallocating these vectors was ~6% of runtime when
validating some web-based game.
2025-10-01 23:47:29 +02:00
Ali Mohammad Pur
f7bdc596b4
LibWasm: Avoid allocations for the label stack as much as possible
...
Namely, find an upper bound at validation time so we can allocate the
space when entering the frame.
Also drop labels at once instead of popping them off one at a time now
that we're using a Vector.
2025-08-26 15:20:33 +02:00
Ali Mohammad Pur
8af095f797
LibWasm: Make Wasm::Validator::Stack hold a Vector instead of inheriting
2025-08-08 12:54:06 +02:00
Ali Mohammad Pur
dc67f0ad4e
LibWasm: Hold on to the stack depth for expressions in the validator
...
This allows preallocating the value stack when pushing frames, avoiding
repeated reallocs and copies.
2025-08-08 12:54:06 +02:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00