diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-02-17 12:44:14 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-02-17 14:25:01 -0800 |
commit | dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc (patch) | |
tree | 88a9617fb2ad21c329043f1f4efd72a0abbb29dc /src/s2wasm.h | |
parent | 252962faba97b68684a470447c7202cf27ad8c05 (diff) | |
download | binaryen-dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc.tar.gz binaryen-dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc.tar.bz2 binaryen-dbb5f32bafcf3c8f51eefb95e6c298ce6b9ac8cc.zip |
move printing to a pass
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r-- | src/s2wasm.h | 3 |
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 |