Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with WebAssembly/spec and WebAssembly/gc #11

Merged
merged 63 commits into from
Oct 20, 2023
Merged

Conversation

dhil
Copy link
Member

@dhil dhil commented Oct 20, 2023

Merge in the latest changes to spec and gc repositories.

takikawa and others added 30 commits September 8, 2023 14:02
Adds a test for the draft JS API spec from this PR:

  WebAssembly/gc#352

This primarily tests the internal object methods described in the spec.
It doesn't yet test the ToWebAssemblyValue / ToJSValue conversions.

Also syncs a portion of the module builder code with V8 to allow
constructing a subset of GC-using modules.
  * Update opcodes to final versions in MVP document
  * Undid strict/non-strict behavior difference
  * The exported-object test should run on V8 now
  * Non-GC JS API tests should run correctly too
[test] Add tentative JS API tests for Exported GC Object
[spec] Extend definition of constants
Add missing init expression to table text format
keithw and others added 28 commits October 6, 2023 16:33
…ebAssembly#1682)

Check that the condition must be a sequence of folded (as opposed to unfolded)
instructions, but also check that having zero or multiple folded instructions is
allowed.
)

The interpreter Makefile captures the output of cding into the unittest
directory and listing the unittest files it contains. Under some circumstances,
the `cd` command will print the new current directory, and that output was
incorrectly being interpreted as the path to a unittest, causing the build to
fail.

Fix this problem by redirecting the output of cd, if any, to /dev/null.

Fixes WebAssembly#1681.
…bly#1666)

Change the interpreter implementation of backward copying in the evaluation of
memory.copy and table.copy to match the implementation given in the spec. This
does not change any behavior.
Also updates wasm-module-builder for necessary changes, such as support for
global init expressions with GC operations. These changes are imported from the
upstream V8 file. This module builder change also requires changes in a few
other test files that used the old init API.
Mostly tests the ToWebAssemblyValue metafunction
[test] Add boundary cast tests for ToWebAssemblyValue
@dhil dhil merged commit aa87fc8 into wasmfx:main Oct 20, 2023
5 checks passed
@dhil dhil deleted the wasmfx-merge branch October 20, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet