summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2016-02-08 11:58:32 -0800
committerDan Gohman <sunfish@mozilla.com>2016-02-08 14:45:47 -0800
commita9158298ebd8fcf2fe369a46635a458ce9f9f5d4 (patch)
treed104f82cb05805a5fc9c87e332fd10511f5e12f5 /src/wasm.h
parent2262204746437423211930d83d8ea336be3efac2 (diff)
downloadbinaryen-a9158298ebd8fcf2fe369a46635a458ce9f9f5d4.tar.gz
binaryen-a9158298ebd8fcf2fe369a46635a458ce9f9f5d4.tar.bz2
binaryen-a9158298ebd8fcf2fe369a46635a458ce9f9f5d4.zip
Update binaryen and several tests for the new br_if operand order.
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 20a7b34ef..e30a891b9 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -501,13 +501,13 @@ public:
class Break : public Expression {
public:
- Break() : Expression(BreakId), condition(nullptr), value(nullptr) {
+ Break() : Expression(BreakId), value(nullptr), condition(nullptr) {
type = unreachable;
}
- Expression *condition;
Name name;
Expression *value;
+ Expression *condition;
std::ostream& doPrint(std::ostream &o, unsigned indent) {
if (condition) {