diff options
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r-- | src/s2wasm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 5557cc2ff..0520d5c3b 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -25,7 +25,9 @@ #include "wasm.h" #include "parsing.h" +#include "pass.h" #include "asm_v_wasm.h" +#include "wasm-printing.h" namespace wasm { @@ -1262,7 +1264,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 |