summaryrefslogtreecommitdiff
path: root/src/passes/ReorderFunctions.cpp
diff options
context:
space:
mode:
authorjgravelle-google <jgravelle@google.com>2017-02-23 10:22:02 -0800
committerGitHub <noreply@github.com>2017-02-23 10:22:02 -0800
commit3ddf9405cf887c1e0e0034b364c453e7c31acf4c (patch)
tree1ec77b7058bbc960aadf5e0e8fad39676ea9b930 /src/passes/ReorderFunctions.cpp
parent7e133b55c7babaabb83fc0f665b4a60022d4b8fb (diff)
downloadbinaryen-3ddf9405cf887c1e0e0034b364c453e7c31acf4c.tar.gz
binaryen-3ddf9405cf887c1e0e0034b364c453e7c31acf4c.tar.bz2
binaryen-3ddf9405cf887c1e0e0034b364c453e7c31acf4c.zip
Default Walker subclasses to using Visitor<SubType> (#921)
Most module walkers use PostWalker<T, Visitor<T>>, let that pattern be expressed as simply PostWalker<T>
Diffstat (limited to 'src/passes/ReorderFunctions.cpp')
-rw-r--r--src/passes/ReorderFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/ReorderFunctions.cpp b/src/passes/ReorderFunctions.cpp
index 679fedb61..c468fd9d3 100644
--- a/src/passes/ReorderFunctions.cpp
+++ b/src/passes/ReorderFunctions.cpp
@@ -28,7 +28,7 @@
namespace wasm {
-struct ReorderFunctions : public WalkerPass<PostWalker<ReorderFunctions, Visitor<ReorderFunctions>>> {
+struct ReorderFunctions : public WalkerPass<PostWalker<ReorderFunctions>> {
std::map<Name, uint32_t> counts;
void visitModule(Module *module) {