diff options
author | Sam Clegg <sbc@chromium.org> | 2021-10-18 11:54:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 11:54:59 -0700 |
commit | 61be173f4b4754cf6e46408a6fd21e175fc8eb7c (patch) | |
tree | 49728637adcda20550279cd6390613501ccefeb4 /src/c-writer.cc | |
parent | 669d32b09920c41bec6a4524c0f2c371483ad12c (diff) | |
download | wabt-61be173f4b4754cf6e46408a6fd21e175fc8eb7c.tar.gz wabt-61be173f4b4754cf6e46408a6fd21e175fc8eb7c.tar.bz2 wabt-61be173f4b4754cf6e46408a6fd21e175fc8eb7c.zip |
Update testsuite (#1738)
bulk-memory-operations and reference-types were completely
removed from the upstream testsuite becuase there were
merged into the upstream spec:
https://github.com/WebAssembly/testsuite/pull/44
In order to land this I had to disable several spec tests
under wasm2c because it lacks support for mutli-table and
reference types. I filed #1737 to track this.
Diffstat (limited to 'src/c-writer.cc')
-rw-r--r-- | src/c-writer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc index 2c3eb429..df8c037b 100644 --- a/src/c-writer.cc +++ b/src/c-writer.cc @@ -1100,6 +1100,9 @@ void CWriter::WriteElemInitializers() { } Index elem_segment_index = 0; for (const ElemSegment* elem_segment : module_->elem_segments) { + if (elem_segment->kind == SegmentKind::Passive) { + continue; + } Write("offset = "); WriteInitExpr(elem_segment->offset); Write(";", Newline()); |