Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion scripts/test/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ def get_tests(test_dir, extensions=[], recursive=False):
SPEC_TESTSUITE_TESTS_TO_SKIP = [
'array_new_elem.wast', # Failure to parse element segment item abbreviation
'binary.wast', # Missing data count section validation
'call_indirect64.wast', # Failure to parse element segment abbreviation
'comments.wast', # Issue with carriage returns being treated as newlines
'const.wast', # Hex float constant not recognized as out of range
'conversions.wast', # Promoted NaN should be canonical
Expand Down
2 changes: 1 addition & 1 deletion src/parser/context-decls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Result<> ParseDeclsCtx::addImplicitElems(TypeT, ElemListT&& elems) {
auto& table = *wasm.tables.back();
auto e = std::make_unique<ElementSegment>();
e->table = table.name;
e->offset = Builder(wasm).makeConstPtr(0, Type::i32);
e->offset = Builder(wasm).makeConstPtr(0, table.addressType);
e->name = Names::getValidElementSegmentName(wasm, "implicit-elem");
wasm.addElementSegment(std::move(e));

Expand Down
Loading