summaryrefslogtreecommitdiff
path: root/src/ir/effects.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-05-22 13:19:47 -0700
committerGitHub <noreply@github.com>2020-05-22 13:19:47 -0700
commitbb0ff51597f254ab199f8ad5b63de7a4bbca2c17 (patch)
tree2932c64f443ec7a36385c0ac96e865d0a9d8c53b /src/ir/effects.h
parentc193e5727d541ad04bb1601da92f2a86ae959cc8 (diff)
downloadbinaryen-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/ir/effects.h')
-rw-r--r--src/ir/effects.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index 55c78f05a..79233e6a8 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -458,7 +458,6 @@ struct EffectAnalyzer
}
void visitNop(Nop* curr) {}
void visitUnreachable(Unreachable* curr) { branches = true; }
- void visitPush(Push* curr) { calls = true; }
void visitPop(Pop* curr) { calls = true; }
void visitTupleMake(TupleMake* curr) {}
void visitTupleExtract(TupleExtract* curr) {}