From bb0ff51597f254ab199f8ad5b63de7a4bbca2c17 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Fri, 22 May 2020 13:19:47 -0700 Subject: 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. --- src/ir/utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ir/utils.h') diff --git a/src/ir/utils.h b/src/ir/utils.h index ded7059ca..a06598095 100644 --- a/src/ir/utils.h +++ b/src/ir/utils.h @@ -155,7 +155,6 @@ struct ReFinalize void visitBrOnExn(BrOnExn* curr); void visitNop(Nop* curr); void visitUnreachable(Unreachable* curr); - void visitPush(Push* curr); void visitPop(Pop* curr); void visitTupleMake(TupleMake* curr); void visitTupleExtract(TupleExtract* curr); @@ -224,7 +223,6 @@ struct ReFinalizeNode : public OverriddenVisitor { void visitBrOnExn(BrOnExn* curr) { curr->finalize(); } void visitNop(Nop* curr) { curr->finalize(); } void visitUnreachable(Unreachable* curr) { curr->finalize(); } - void visitPush(Push* curr) { curr->finalize(); } void visitPop(Pop* curr) { curr->finalize(); } void visitTupleMake(TupleMake* curr) { curr->finalize(); } void visitTupleExtract(TupleExtract* curr) { curr->finalize(); } -- cgit v1.2.3