summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2023-06-13 09:34:51 -0700
committerGitHub <noreply@github.com>2023-06-13 09:34:51 -0700
commitb2eef24296ac1d2c5ab46cabdff639ec129ca7c1 (patch)
tree1336003f891283fa2ab30e5b38d75dae460fba96 /src
parentd035c05e0e2b1aa6fc1f683b32924fc90f17b994 (diff)
downloadbinaryen-b2eef24296ac1d2c5ab46cabdff639ec129ca7c1.tar.gz
binaryen-b2eef24296ac1d2c5ab46cabdff639ec129ca7c1.tar.bz2
binaryen-b2eef24296ac1d2c5ab46cabdff639ec129ca7c1.zip
Remove BinaryenIRToBinaryWriter::visit (#5766)
This is not used. We use the parent's `visit` method instead: https://github.com/WebAssembly/binaryen/blob/585af93ec6a22feb8954bc118f0bff997d1fc165/src/wasm-stack.h#L233-L262
Diffstat (limited to 'src')
-rw-r--r--src/wasm-stack.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wasm-stack.h b/src/wasm-stack.h
index c5bcf34fd..03ec4eef5 100644
--- a/src/wasm-stack.h
+++ b/src/wasm-stack.h
@@ -411,10 +411,6 @@ public:
: BinaryenIRWriter<BinaryenIRToBinaryWriter>(func), parent(parent),
writer(parent, o, func, sourceMap, DWARF), sourceMap(sourceMap) {}
- void visit(Expression* curr) {
- BinaryenIRWriter<BinaryenIRToBinaryWriter>::visit(curr);
- }
-
void emit(Expression* curr) { writer.visit(curr); }
void emitHeader() {
if (func->prologLocation.size()) {