diff options
author | Dan Gohman <sunfish@mozilla.com> | 2016-02-08 11:58:32 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2016-02-08 14:45:47 -0800 |
commit | a9158298ebd8fcf2fe369a46635a458ce9f9f5d4 (patch) | |
tree | d104f82cb05805a5fc9c87e332fd10511f5e12f5 /src/wasm.h | |
parent | 2262204746437423211930d83d8ea336be3efac2 (diff) | |
download | binaryen-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.h | 4 |
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) { |