This repository was archived by the owner on Nov 3, 2021. It is now read-only.
Repository navigation
Reverse order of {table,memory}.init immediates - #45
Merged
Merged
Conversation
The order of the `table.init` and `memory.init` immediates should be the index followed by the reserved byte (which is a placeholder for the table or memory index). This matches ordering of immediates in `call_indirect` (type index, followed by table index reserved byte).
rossberg
approved these changes
Jan 9, 2019
alexcrichton
added a commit
to alexcrichton/wabt
that referenced
this pull request
Jan 29, 2019
This commit updates wabt wrt to two recent PRs: * WebAssembly/bulk-memory-operations#43 * WebAssembly/bulk-memory-operations#45
binji
pushed a commit
to WebAssembly/wabt
that referenced
this pull request
Jan 29, 2019
This commit updates wabt wrt to two recent PRs: * WebAssembly/bulk-memory-operations#43 * WebAssembly/bulk-memory-operations#45
joyeecheung
pushed a commit
to joyeecheung/v8
that referenced
this pull request
Feb 4, 2019
* There are now two indexes for table.copy and memory.copy, one for the source and the one for the destination table/memory. (see WebAssembly/bulk-memory-operations#43) * Reverse the order of the table.init and memory.init indexes, so the segment index is first and the table/memory index is second. (see WebAssembly/bulk-memory-operations#45) Change-Id: I1781edd4200a7b693e3d0814999e6292aafa58d3 Reviewed-on: https://chromium-review.googlesource.com/c/1446149 Reviewed-by: Ben Titzer <[email protected]> Commit-Queue: Ben Smith <[email protected]> Cr-Commit-Position: refs/heads/master@{#59259}
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The order of the
table.initandmemory.initimmediates should be the index followed by the reserved byte (which is a placeholder for the table or memory index). This matches ordering of immediates incall_indirect(type index, followed by table index reserved byte).