diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-09 17:16:29 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-09 17:16:29 -0800 |
commit | 884c1de0f6dd282881029f03525c1bc8b93c134c (patch) | |
tree | 6c5d7f01952e12927fbe69de12164e8eddefec97 /src/wasm.h | |
parent | 6098d7c270a3b16c4c68dd6996597eae2a74a5f4 (diff) | |
download | binaryen-884c1de0f6dd282881029f03525c1bc8b93c134c.tar.gz binaryen-884c1de0f6dd282881029f03525c1bc8b93c134c.tar.bz2 binaryen-884c1de0f6dd282881029f03525c1bc8b93c134c.zip |
print if-else
Diffstat (limited to 'src/wasm.h')
-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); |