summaryrefslogtreecommitdiff
path: root/src/wasm-stack.h
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2022-07-29 07:15:35 +0300
committerGitHub <noreply@github.com>2022-07-29 04:15:35 +0000
commitd02c260619e5d068b6893d4948de0487d0f1f66d (patch)
treebeba5a15fb0ace5bd34a4135efecc54deb754bc6 /src/wasm-stack.h
parent0cd9fb599fc5a44df7774d5f180d912ccab8c941 (diff)
downloadbinaryen-d02c260619e5d068b6893d4948de0487d0f1f66d.tar.gz
binaryen-d02c260619e5d068b6893d4948de0487d0f1f66d.tar.bz2
binaryen-d02c260619e5d068b6893d4948de0487d0f1f66d.zip
[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.
Diffstat (limited to 'src/wasm-stack.h')
-rw-r--r--src/wasm-stack.h2
1 files changed, 1 insertions, 1 deletions
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