summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 6d57ae438..5df512745 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -589,12 +589,6 @@ public:
return ret;
}
Unreachable* makeUnreachable() { return allocator.alloc<Unreachable>(); }
- Push* makePush(Expression* value) {
- auto* ret = allocator.alloc<Push>();
- ret->value = value;
- ret->finalize();
- return ret;
- }
Pop* makePop(Type type) {
auto* ret = allocator.alloc<Pop>();
ret->type = type;