summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 5557cc2ff..9c875ea9e 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -25,6 +25,7 @@
#include "wasm.h"
#include "parsing.h"
+#include "pass.h"
#include "asm_v_wasm.h"
namespace wasm {
@@ -1262,7 +1263,7 @@ public:
// extra emscripten processing
void emscriptenGlue(std::ostream& o) {
if (debug) {
- std::cerr << wasm << '\n';
+ printWasm(&wasm, std::cerr);
}
wasm.removeImport(EMSCRIPTEN_ASM_CONST); // we create _sig versions