Description[wasm] Introduce EmitVarInt and EmitWithVarInt
Use them to encode int32 constants properly.
This reduces the generated wasm size in the unity benchmark from
21.6 MB to 16.8 MB (-22.2%).
This hopefully also translates to increased performance especially on
mobile because of lower memory usage.
R=bradnelson@chromium.org, titzer@chromium.org
Review-Url: https://codereview.chromium.org/2692943002
Cr-Commit-Position: refs/heads/master@{#43200}
Committed: https://chromium.googlesource.com/v8/v8/+/494fd7156b36213bc7718bc7177424596013f4ba
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use bit_cast instead of static_cast #
Depends on Patchset: Messages
Total messages: 22 (15 generated)
|