diff options
author | Rian Hunter <rianhunter@users.noreply.github.com> | 2020-03-23 11:34:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 11:34:43 -0700 |
commit | 0a4d0eebb73c2a8f5e5b8ff004f840d832db723a (patch) | |
tree | 900c288b2f3fcfe309ddcbb4b9333b91930de03c /src/binary-reader-logging.cc | |
parent | 5ba0296190a077acfdc6c1de19510143b4dcc7c4 (diff) | |
download | wabt-0a4d0eebb73c2a8f5e5b8ff004f840d832db723a.tar.gz wabt-0a4d0eebb73c2a8f5e5b8ff004f840d832db723a.tar.bz2 wabt-0a4d0eebb73c2a8f5e5b8ff004f840d832db723a.zip |
Always generate DataCount section, even if number of datas is 0 (#1369)
* Always generate DataCount section, even if number of datas is 0
The bulk-memory spec requires that a DataCount section is always
present if a memory.init or data.drop instruction is present in
the following code section. This requirement remains even if the
number of datas is 0, so remove that condition.
Fixes #1368
* Fix tests
Diffstat (limited to 'src/binary-reader-logging.cc')
0 files changed, 0 insertions, 0 deletions