Skip to content

Next batch of tests#292

Merged
rossberg merged 2 commits intomasterfrom
mo-tests2
Jun 16, 2016
Merged

Next batch of tests#292
rossberg merged 2 commits intomasterfrom
mo-tests2

Conversation

@rossberg
Copy link
Member

@rossberg rossberg commented May 20, 2016

This time:

  • loop
  • br
  • return
  • bunch of additions to previous tests

Plus a bug fix in the pretty printer.

)

(func "br-bare" (result i32)
(func "break-bare" (result i32)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not rename "br" to "break" in the tests; the instruction is named "br".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to match the loop test cases, where the names distinguish between breaking and continuing (see below). So the naming does not refer to the operator, but to the control flow transfer happening.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I guess I'm already in the habit of thinking in terms of WebAssembly/design#652. If we do that, we can simplify these tests.

@rossberg
Copy link
Member Author

Ping :)

@rossberg
Copy link
Member Author

Any opposition to landing these tests?

@lukewagner
Copy link
Member

lgtm

@rossberg rossberg merged commit f64d549 into master Jun 16, 2016
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
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.

3 participants