diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-05-22 13:19:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 13:19:47 -0700 |
commit | bb0ff51597f254ab199f8ad5b63de7a4bbca2c17 (patch) | |
tree | 2932c64f443ec7a36385c0ac96e865d0a9d8c53b /src/wasm-builder.h | |
parent | c193e5727d541ad04bb1601da92f2a86ae959cc8 (diff) | |
download | binaryen-bb0ff51597f254ab199f8ad5b63de7a4bbca2c17.tar.gz binaryen-bb0ff51597f254ab199f8ad5b63de7a4bbca2c17.tar.bz2 binaryen-bb0ff51597f254ab199f8ad5b63de7a4bbca2c17.zip |
Remove `Push` (#2867)
Push and Pop have been superseded by tuples for their original
intended purpose of supporting multivalue. Pop is still used to
represent block arguments for exception handling, but there are no
plans to use Push for anything now or in the future.
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r-- | src/wasm-builder.h | 6 |
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; |