Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

[tests] Fix various spec tests#95

Merged
rossberg merged 3 commits intoWebAssembly:masterfrom
gahaas:fix-spec-tests
May 20, 2020
Merged

[tests] Fix various spec tests#95
rossberg merged 3 commits intoWebAssembly:masterfrom
gahaas:fix-spec-tests

Conversation

@gahaas
Copy link
Contributor

@gahaas gahaas commented May 20, 2020

This PR fixes some issues in the spec tests:

  • Add missing functions to the default import object of the spec tests;
  • Adjust the byte encoding of a test in the binary-leb128.wast to test multi-byte table indices in
    element segments.

Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rossberg rossberg merged commit 8dd9a90 into WebAssembly:master May 20, 2020
gahaas added a commit to WebAssembly/bulk-memory-operations that referenced this pull request Jun 4, 2020
The encoding of the table index in binary-leb128.wast is incorrect with the bulk-memory extensions, see #153. I saw and fixed the issue first in the reference types proposal (see WebAssembly/reference-types#95), but apparently it also exists here.
aheejin pushed a commit to aheejin/reference-types that referenced this pull request Jun 5, 2020
This also adds `table.set` and `table.get` administrative instructions.
Only `table.set` is used for now, but `table.copy` will use both.
gahaas added a commit to WebAssembly/bulk-memory-operations that referenced this pull request Oct 12, 2020
The encoding of the table index in binary-leb128.wast is incorrect with the bulk-memory extensions, see #153. I saw and fixed the issue first in the reference types proposal (see WebAssembly/reference-types#95), but apparently it also exists here.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants