diff options
author | jgravelle-google <jgravelle@google.com> | 2017-02-23 10:22:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 10:22:02 -0800 |
commit | 3ddf9405cf887c1e0e0034b364c453e7c31acf4c (patch) | |
tree | 1ec77b7058bbc960aadf5e0e8fad39676ea9b930 /src/wasm/wasm.cpp | |
parent | 7e133b55c7babaabb83fc0f665b4a60022d4b8fb (diff) | |
download | binaryen-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/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index c80d10c83..412c2b7ac 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -69,7 +69,7 @@ Name GROW_WASM_MEMORY("__growWasmMemory"), // core AST type checking -struct TypeSeeker : public PostWalker<TypeSeeker, Visitor<TypeSeeker>> { +struct TypeSeeker : public PostWalker<TypeSeeker> { Expression* target; // look for this one Name targetName; std::vector<WasmType> types; |