search for: wasmtabl

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

Did you mean: wasmtable
2018 Jun 15
2
[WebAssembly] lld dynamic loader
...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 Sam Clegg <sbc at google.com>: > Hi Ghis > > Originally when we wrote the wasm port of lld we didn't support > impor...
2018 Jun 01
2
[WebAssembly] lld dynamic loader
Hello, The table generated by lld (Wasm target) have a max size. So this make impossible to add some others functions in the table . As for the moment only one Table is available in WAsm this is the only way to add function in a dynamic way. Having a none static size of the table is useful for a kind dynamic loader/inker at run-time: by adding some exported functions coming from another