diff options
Diffstat (limited to 'src/wasm-printing.h')
-rw-r--r-- | src/wasm-printing.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/wasm-printing.h b/src/wasm-printing.h index d3327aa4c..712dd3c1f 100644 --- a/src/wasm-printing.h +++ b/src/wasm-printing.h @@ -19,8 +19,8 @@ #include <ostream> -#include "wasm.h" #include "pass.h" +#include "wasm.h" namespace wasm { @@ -29,11 +29,16 @@ struct WasmPrinter { static std::ostream& printModule(Module* module); - static std::ostream& printExpression(Expression* expression, std::ostream& o, bool minify = false, bool full = false); + static std::ostream& printExpression(Expression* expression, + std::ostream& o, + bool minify = false, + bool full = false); - static std::ostream& printStackInst(StackInst* inst, std::ostream& o, Function* func=nullptr); + static std::ostream& + printStackInst(StackInst* inst, std::ostream& o, Function* func = nullptr); - static std::ostream& printStackIR(StackIR* ir, std::ostream& o, Function* func=nullptr); + static std::ostream& + printStackIR(StackIR* ir, std::ostream& o, Function* func = nullptr); }; } // namespace wasm |