diff options
-rw-r--r-- | src/wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h index 9ed89df55..0fd014a47 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -320,7 +320,7 @@ public: Expression *condition, *ifTrue, *ifFalse; std::ostream& doPrint(std::ostream &o, unsigned indent) { - printOpening(o, "if"); + printOpening(o, ifFalse ? "if_else" : "if"); incIndent(o, indent); printFullLine(o, indent, condition); printFullLine(o, indent, ifTrue); |