Description[Wasm] Convert many of the fixed-size values to LEB128.
This CL modifies the following to be LEB128:
* Function table indices
* Import table signature indices
* Export table function indices
* Function signature param count
* br/br_if break depth
* br_table target count
* block/loop expression count
Still to do:
* Import/export names (LEB128 count + inline data)
* Data segments (LEB128 offset + size + inline data)
* Function header stuff (should seperate into function sig and body sections)
* Memory access alignment + offset (still discussing)
BUG=
R=titzer@chromium.org
Committed: https://crrev.com/78f6f838f0fdf2ce49a498e1548511b75535d19b
Cr-Commit-Position: refs/heads/master@{#34603}
Patch Set 1 #
Total comments: 6
Patch Set 2 : win64 and linux gcc errors #Patch Set 3 : br_table targets are u16 again #Patch Set 4 : fix WasmMacroGen unittest #Patch Set 5 : change to uint32_t #Patch Set 6 : merge master #Patch Set 7 : fix windows #
Messages
Total messages: 25 (11 generated)
|