summaryrefslogtreecommitdiff
path: root/src/passes/CodePushing.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-10-24 12:33:54 -0700
committerGitHub <noreply@github.com>2022-10-24 12:33:54 -0700
commit3986d95de1f3d91e4ec2193bc70c6c4b4fdbd1bd (patch)
tree531564565a65cc48bcff9fe26628e8402ea26d2d /src/passes/CodePushing.cpp
parent899ffddd109710d0e8794aa7f0ce36aa0410407f (diff)
downloadbinaryen-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