Skip to content
Open
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
4 changes: 0 additions & 4 deletions scripts/test/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,6 @@ def get_tests(test_dir, extensions=[], recursive=False):
# Requires us to write our own floating point parser
'const.wast',

# Unlinkable module accepted
'linking.wast',

# Invalid module accepted
'unreached-invalid.wast',

Expand Down Expand Up @@ -423,7 +420,6 @@ def get_tests(test_dir, extensions=[], recursive=False):
'if.wast', # Requires more precise unreachable validation
'imports.wast', # Requires fixing handling of mutation to imported globals
'proposals/threads/imports.wast', # Missing memory type validation on instantiation
'linking.wast', # Incorrectly allows covariant subtyping for table imports
'proposals/threads/memory.wast', # Missing memory type validation on instantiation
'annotations.wast', # String annotations IDs should be allowed
'instance.wast', # Requires support for table default elements
Expand Down
4 changes: 2 additions & 2 deletions src/ir/runtime-table.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class RuntimeTable {
// be imported with the definition of `other`
virtual bool isSubType(const Table& other) {
return tableDefinition.addressType == other.addressType &&
Type::isSubType(tableDefinition.type, other.type) &&
size() >= other.initial && tableDefinition.max <= other.max;
tableDefinition.type == other.type && size() >= other.initial &&
tableDefinition.max <= other.max;
}

const Table* getDefinition() const { return &tableDefinition; }
Expand Down
Loading
Loading