From 9c6476efe9403658bb69851bfa3aa30f67a32868 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 9 Nov 2015 18:59:05 -0800 Subject: update spec tests, use a proper label stack, and start to update control flow changes from spec --- src/wasm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/wasm.h') 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); -- cgit v1.2.3