From a9158298ebd8fcf2fe369a46635a458ce9f9f5d4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 8 Feb 2016 11:58:32 -0800 Subject: Update binaryen and several tests for the new br_if operand order. --- src/wasm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm.h') 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) { -- cgit v1.2.3