Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wasm2js: Bulk memory support (#2923) | Alon Zakai | 2020-06-22 | 1 | -0/+420 |
Adds a special helper functions for data.drop etc., as unlike most wasm instructions these are too big to emit inline. Track passive segments at runtime in var memorySegments whose indexes are the segment indexes. Emit var bufferView even if the memory exists even without memory segments, as we do still need the view in order to operate on it. Also adds a few constants for atomics that will be useful in future PRs (as this PR updates the constant lists anyhow). |