diff options
author | Abbas Mashayekh <martianboy2005@gmail.com> | 2021-02-10 01:17:28 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 13:47:28 -0800 |
commit | 3da8b08ecd57f5662bebc69ea73bf59e1928341e (patch) | |
tree | 2902eedc161579eaf37a1aed463de95916eee703 /CHANGELOG.md | |
parent | a12a8250da24aa5b5787bf89562b243fdc514302 (diff) | |
download | binaryen-3da8b08ecd57f5662bebc69ea73bf59e1928341e.tar.gz binaryen-3da8b08ecd57f5662bebc69ea73bf59e1928341e.tar.bz2 binaryen-3da8b08ecd57f5662bebc69ea73bf59e1928341e.zip |
[reference-types] remove single table restriction in IR (#3517)
Adds support for modules with multiple tables. Adds a field for the table name to `CallIndirect` and updates the C/JS APIs accordingly.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 50d018937..cafdae444 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,32 @@ Current Trunk ------------- - `wasm-dis` now supports options to enable or disable Wasm features. +- Reference types support has been improved by allowing multiple tables in a + module. +- `call_indirect` and `return_call_indirect` now take an additional table name + parameter. This is necessary for reference types support. +- New getter/setter methods have been introduced for `call_indirect` table name: + - `BinaryenCallIndirectGetTable` + - `BinaryenCallIndirectSetTable` + - JS API `CallIndirect.table` +- New APIs have been added to add and manipulate multiple tables in a module: + - `BinaryenAddTable` + - `BinaryenRemoveTable` + - `BinaryenGetNumTables` + - `BinaryenGetTable` + - `BinaryenGetTableByIndex` + - `BinaryenTableGetName` + - `BinaryenTableGetInitial` + - `BinaryenTableHasMax` + - `BinaryenTableGetMax` + - `BinaryenTableImportGetModule` + - `BinaryenTableImportGetBase` + - `module.addTable` + - `module.removeTable` + - `module.getTable` + - `module.getTableByIndex` + - `module.getNumTables` + - `binaryen.getTableInfo` v99 --- |