search for: wasm_limits_flag_has_no_max

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

2018 Jun 15
2
[WebAssembly] lld dynamic loader
...ection->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 > importing or exporting the table so it made sense to set a max size. > However, now that we have the -...
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