summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-02-08 15:16:08 -0800
committerAlon Zakai <alonzakai@gmail.com>2016-02-08 15:16:08 -0800
commitd3bbf5a4ddd70940d22eb3f1690c2637d725e43e (patch)
tree80c4b64d3e2e605f5d062c8b52065b728f4c0c0c /src/wasm.h
parent2262204746437423211930d83d8ea336be3efac2 (diff)
parente9df05441f31bca550cc7f89935f10bf052b1464 (diff)
downloadbinaryen-d3bbf5a4ddd70940d22eb3f1690c2637d725e43e.tar.gz
binaryen-d3bbf5a4ddd70940d22eb3f1690c2637d725e43e.tar.bz2
binaryen-d3bbf5a4ddd70940d22eb3f1690c2637d725e43e.zip
Merge pull request #190 from WebAssembly/br_if-operand-order
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) {