forked from WebAssembly/spec
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Rename extern.in/externalize
[spec] Extend definition of constants
[spec] A few fixes
Add missing init expression to table text format
depended → dependent
…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.
This became unused in WebAssembly#745.
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.
[test] Add JS API tests for I31 refs
Mostly tests the ToWebAssemblyValue metafunction
[test] Add boundary cast tests for ToWebAssemblyValue
in Appendix page. Signed-off-by: YiYing He <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge in the latest changes to spec and gc repositories.