summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h10
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);