Skip to content

Test that the start function index space does not include imports.#241

Merged
jfbastien merged 1 commit intomasterfrom
unknown repository
Feb 24, 2016
Merged

Test that the start function index space does not include imports.#241
jfbastien merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Feb 13, 2016

The v8 encoding appears to be using it's imports-and-functions index
space for the start function index encoding, so these tests check that
tools are mapping it correctly.

@haxxpop
Copy link
Contributor

haxxpop commented Feb 13, 2016

Should we also add the expected-output/start.wast.log file ?

@ghost
Copy link
Author

ghost commented Feb 13, 2016

The other checks should detect an index space error, the start function can not have operands and the import does.

The v8 encoding appears to be using it's imports-and-functions index
space for the start function index encoding, so these tests check that
tools are mapping it correctly.
jfbastien added a commit that referenced this pull request Feb 24, 2016
Test that the start function index space does not include imports.
@jfbastien jfbastien merged commit 8b899b9 into WebAssembly:master Feb 24, 2016
@ghost ghost deleted the start-index-space branch February 25, 2016 10:24
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Mar 2, 2023
… everywhere. (WebAssembly#241)

This addresses additional review comments to PR WebAssembly#222, that were made after it was merged.
The last review comment in the discussion suggests to adjust all validation labels to use label types instead of just result types.
Should address all occurrences of validation labels.

Additionally adds a boolean catch_label to control frames in the validation algorithm,
and some related functionality, fixing the cases for opcodes `catch` and `catch_all`.

* Apply suggestions from code review

Co-authored-by: Andreas Rossberg <rossberg@mpi-sws.org>
Co-authored-by: Heejin Ahn <aheejin@gmail.com>

* Reverting changes to typing of CAUGHTadm.

Changes to this rule are now done in PR WebAssembly#244
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Mar 2, 2023
* Fixes the typing rule of CAUGHTadm as suggested in:
WebAssembly/exception-handling#229 (comment)
* Applying suggestion from PR WebAssembly#241
https://github.com/WebAssembly/exception-handling/pull/241/files/201ff276be6c458e7a819662eb2862bd475f2fcd..f97c9d108a999c3c3fd30f25554a113822bed1b8#r1030097793
* Applied suggestions from code review, fixed notation, also adding the missing _n to CAUGHTadm.
  The subscript is introduced by the changes in PR WebAssembly#226
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.

2 participants