diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/wasm.h b/src/wasm.h index c43544cc1..0afe5ab28 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -540,7 +540,6 @@ public: DataDropId, MemoryCopyId, MemoryFillId, - PushId, PopId, RefNullId, RefIsNullId, @@ -1067,25 +1066,8 @@ public: Unreachable(MixedArena& allocator) : Unreachable() {} }; -// A multivalue push. This represents a push of a value, which will be -// used in the next return. That is, a multivalue return is done by -// pushing some values, then doing a return (with a value as well). -// For more on this design, see the readme. -class Push : public SpecificExpression<Expression::PushId> { -public: - Push() = default; - Push(MixedArena& allocator) {} - - Expression* value; - - void finalize(); -}; - -// A multivalue pop. This represents a pop of a value, which arrived -// from a multivalue call or other situation where there are things on -// the stack. That is, a multivalue-returning call is done by doing -// the call, receiving the first value normally, and receiving the others -// via calls to pop. +// Represents a pop of a value that arrives as an implicit argument to the +// current block. Currently used in exception handling. class Pop : public SpecificExpression<Expression::PopId> { public: Pop() = default; |