diff options
author | Alon Zakai <azakai@google.com> | 2022-10-24 12:33:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 12:33:54 -0700 |
commit | 3986d95de1f3d91e4ec2193bc70c6c4b4fdbd1bd (patch) | |
tree | 531564565a65cc48bcff9fe26628e8402ea26d2d /src/passes/CodePushing.cpp | |
parent | 899ffddd109710d0e8794aa7f0ce36aa0410407f (diff) | |
download | binaryen-3986d95de1f3d91e4ec2193bc70c6c4b4fdbd1bd.tar.gz binaryen-3986d95de1f3d91e4ec2193bc70c6c4b4fdbd1bd.tar.bz2 binaryen-3986d95de1f3d91e4ec2193bc70c6c4b4fdbd1bd.zip |
[NFC] Inherit from Visitor in OverriddenVisitor (#5182)
Doing so shortens the code by removing duplicate logic.
Also this will avoid a compile error in a future PR, as by inheriting from
Visitor we include functions like visitFunction which were otherwise
missing from OverriddenVisitor. We could duplicate those like we
duplicated the expression logic, but just removing all the duplication
seems best.
I manually verified OverriddenVisitor still provides the same error messages
as before.
Diffstat (limited to 'src/passes/CodePushing.cpp')
0 files changed, 0 insertions, 0 deletions