From d02c260619e5d068b6893d4948de0487d0f1f66d Mon Sep 17 00:00:00 2001 From: Max Graey Date: Fri, 29 Jul 2022 07:15:35 +0300 Subject: [JS Api] Reuse C-Api for emitText and emitStackIR (#4832) Make the C API match the JS API and fix an old bug where extra newlines were emitted. --- src/wasm-stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-stack.h') diff --git a/src/wasm-stack.h b/src/wasm-stack.h index 6e39f45c6..2a007739d 100644 --- a/src/wasm-stack.h +++ b/src/wasm-stack.h @@ -472,7 +472,7 @@ private: Function* func; }; -std::ostream& printStackIR(std::ostream& o, Module* module); +std::ostream& printStackIR(std::ostream& o, Module* module, bool optimize); } // namespace wasm -- cgit v1.2.3