diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-09 18:59:05 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-09 18:59:05 -0800 |
commit | 9c6476efe9403658bb69851bfa3aa30f67a32868 (patch) | |
tree | 749e71a421c1fbf46f31070e11856163c4832960 /src/wasm.h | |
parent | 884c1de0f6dd282881029f03525c1bc8b93c134c (diff) | |
download | binaryen-9c6476efe9403658bb69851bfa3aa30f67a32868.tar.gz binaryen-9c6476efe9403658bb69851bfa3aa30f67a32868.tar.bz2 binaryen-9c6476efe9403658bb69851bfa3aa30f67a32868.zip |
update spec tests, use a proper label stack, and start to update control flow changes from spec
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wasm.h b/src/wasm.h index 0fd014a47..2a7a9b804 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -338,11 +338,11 @@ public: std::ostream& doPrint(std::ostream &o, unsigned indent) { printOpening(o, "loop"); - if (out.is()) { - o << ' ' << out; - if (in.is()) { - o << ' ' << in; - } + if (in.is()) { + o << ' ' << in; + if (out.is()) { + o << ' ' << out; + } } incIndent(o, indent); printFullLine(o, indent, body); |