search for: wasmlimits

Displaying 2 results from an estimated 2 matches for "wasmlimits".

2018 Jun 15
2
[WebAssembly] lld dynamic loader
...:) : Index: wasm/Writer.cpp =================================================================== --- wasm/Writer.cpp (revision 330555) +++ wasm/Writer.cpp (working copy) @@ -257,7 +257,7 @@ raw_ostream &OS = Section->getStream(); writeUleb128(OS, 1, "table count"); - WasmLimits Limits = {WASM_LIMITS_FLAG_HAS_MAX, TableSize, TableSize}; + WasmLimits Limits = {0, TableSize, TableSize}; writeTableType(OS, WasmTable{WASM_TYPE_ANYFUNC, Limits}); } May be to have a code more readable WASM_LIMITS_FLAG_HAS_NO_MAX (=0) can be added. Thks, Ghis 2018-06-03 23:45 GMT+02:00...
2018 Jun 01
2
[WebAssembly] lld dynamic loader
...lly some function coming from another wasm module. So I am wondering if the static size of the table have a specific goal ? If not did you think the WASM_LIMITS_FLAG_HAS_MAX can be remove ? https://llvm.org/svn/llvm-project/lld/trunk/wasm/Writer.cpp void Writer::createTableSection() { .. WasmLimits Limits = {WASM_LIMITS_FLAG_HAS_MAX, TableSize, TableSize}; Thks in advance, Ghis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180601/ff3ced7a/attachment-0001.html>