diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-03-31 07:57:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 07:57:49 -0700 |
commit | 1d24b83eaf710510c132091db89715607d64eea7 (patch) | |
tree | 34c38a85f0b3f0fe91226d85b951d897e356fc71 /test | |
parent | e7c4f9da6d4a98f58b6320b5769f653a6bf26d3e (diff) | |
download | binaryen-1d24b83eaf710510c132091db89715607d64eea7.tar.gz binaryen-1d24b83eaf710510c132091db89715607d64eea7.tar.bz2 binaryen-1d24b83eaf710510c132091db89715607d64eea7.zip |
[MemoryPacking] Remove workaround for old V8 bug (#4558)
V8 used to incorrectly parse the segment index on bulk memory instructions as a
signed LEB rather than an unsigned LEB, which meant it only worked correctly
with up to 63 data segments. That bug has been fixed for over two years now, so
lift the maximum number of segments generated by memory packing from 63 to the
specified max, 100k.
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/memory-packing_all-features.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/passes/memory-packing_all-features.txt b/test/passes/memory-packing_all-features.txt index 731383188..a2d39083b 100644 --- a/test/passes/memory-packing_all-features.txt +++ b/test/passes/memory-packing_all-features.txt @@ -997,7 +997,9 @@ (data "a") (data "a") (data "a") - (data "a\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00a\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00a") + (data "a") + (data "a") + (data "a") (func $init-lots (block (memory.init 0 @@ -1505,6 +1507,8 @@ (data.drop 60) (data.drop 61) (data.drop 62) + (data.drop 63) + (data.drop 64) ) ) ) |