-
Notifications
You must be signed in to change notification settings - Fork 840
Add support for non-nullable tables and init expressions #8405
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
Open
pufferfish101007
wants to merge
28
commits into
WebAssembly:main
Choose a base branch
from
pufferfish101007:non-nullable-table
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+174
−45
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
4769702
allow non-nullable ref types + init exprs in tables
pufferfish101007 1855e6c
add support for nullable tables & init expressions in parser + interp…
pufferfish101007 6a09536
properly initialise table init when parsing WAT
pufferfish101007 0cdd750
only parse table init if it exists
pufferfish101007 7ef1502
consider that nullable tables might have an init expr
pufferfish101007 bbd1d4e
add missing argument to addTable in C api tests
pufferfish101007 41fc398
allow non-nullable types in element segments
pufferfish101007 a1f5781
unignore some spec tests that now pass
pufferfish101007 dc47c17
revert testsuite submodule update
pufferfish101007 8024e79
format code
pufferfish101007 9264c1e
check if table init exists before traversing it
pufferfish101007 92ee421
check for GC if there is a table init, rather than vice verse
pufferfish101007 6b053c0
add changelog entry for non-nullable tables / table init exprs
pufferfish101007 8bffe07
Update CHANGELOG.md
pufferfish101007 a33eae8
introduce named constants for table encoding with init expr
pufferfish101007 9f2f70d
Revert "introduce named constants for table encoding with init expr"
pufferfish101007 fdab5ff
use named constants for table initializer encoding
pufferfish101007 c12800b
add C API kitchen sink test for table init expr
pufferfish101007 4ab3fb9
Add JS kitchen sink test
pufferfish101007 1009d7b
format code
pufferfish101007 5dda1dd
Update JS kitchen sink test to use correct API
pufferfish101007 4bafe31
update reason for ignoring global.wast spec test
pufferfish101007 4c149b4
Use `getType()` rather than getting LEB and then decoding
pufferfish101007 eeea874
remove `table->hasInit()` in preference of directly checking `init`
pufferfish101007 6c7dd7d
walk table init expr in `walkModuleCode`
pufferfish101007 d98caed
fix typo... globals -> tables
pufferfish101007 e8ed315
check that table init exprs only reference imported globals
pufferfish101007 26b850e
format code
pufferfish101007 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
pufferfish101007 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.