Skip to content

Update binaryen and several tests for the new br_if operand order.#190

Merged
kripken merged 2 commits intomasterfrom
br_if-operand-order
Feb 8, 2016
Merged

Update binaryen and several tests for the new br_if operand order.#190
kripken merged 2 commits intomasterfrom
br_if-operand-order

Conversation

@sunfishcode
Copy link
Member

This patch updates binaryen and many of the tests to use the new br_if operand order (WebAssembly/spec#234). It doesn't update all the auto-generated tests from the spec repo, from llvm, or from the torture tests. I assume those can be done automatically by whatever process updates them.

if (i < s.size()) {
ret->value = expr;
ret->condition = parseExpression(s[i]);
} else if (s[0]->str() == BR_IF) {
Copy link
Member

Choose a reason for hiding this comment

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

always true?

@sunfishcode
Copy link
Member Author

This PR looks superseded by #189 .

@kripken
Copy link
Member

kripken commented Feb 8, 2016

There are changes here not in the previous merged pull, like binary format changes.

@sunfishcode
Copy link
Member Author

You're right. Ok, I've updated and rebased this PR now on top of your PR so it has just the additional changes.

@kripken
Copy link
Member

kripken commented Feb 8, 2016

lgtm if check.py passes

kripken added a commit that referenced this pull request Feb 8, 2016
Update binaryen and several tests for the new br_if operand order.
@kripken kripken merged commit d3bbf5a into master Feb 8, 2016
@jfbastien jfbastien deleted the br_if-operand-order branch February 9, 2016 01:14
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.

4 participants