summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 3deae22ef..222eb7cfa 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -387,12 +387,11 @@ public:
Break() : Expression(BreakId) {}
Name name;
- Expression *condition, *value;
+ Expression *value;
std::ostream& doPrint(std::ostream &o, unsigned indent) {
printOpening(o, "break ") << name;
incIndent(o, indent);
- if (condition) printFullLine(o, indent, condition);
if (value) printFullLine(o, indent, value);
return decIndent(o, indent);
}
@@ -1039,7 +1038,6 @@ struct WasmWalker : public WasmVisitor<Expression*> {
}
void visitLabel(Label *curr) override {}
void visitBreak(Break *curr) override {
- curr->condition = parent.walk(curr->condition);
curr->value = parent.walk(curr->value);
}
void visitSwitch(Switch *curr) override {