summaryrefslogtreecommitdiff
path: root/src/wasm-validator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-validator.h')
-rw-r--r--src/wasm-validator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-validator.h b/src/wasm-validator.h
index 6f4b25663..866c1c3db 100644
--- a/src/wasm-validator.h
+++ b/src/wasm-validator.h
@@ -44,7 +44,7 @@
namespace wasm {
-struct WasmValidator : public PostWalker<WasmValidator, Visitor<WasmValidator>> {
+struct WasmValidator : public PostWalker<WasmValidator> {
bool valid = true;
// what to validate, see comment up top
@@ -165,7 +165,7 @@ public:
// override scan to add a pre and a post check task to all nodes
static void scan(WasmValidator* self, Expression** currp) {
- PostWalker<WasmValidator, Visitor<WasmValidator>>::scan(self, currp);
+ PostWalker<WasmValidator>::scan(self, currp);
auto* curr = *currp;
if (curr->is<Block>()) self->pushTask(visitPreBlock, currp);
@@ -500,7 +500,7 @@ public:
}
void doWalkFunction(Function* func) {
- PostWalker<WasmValidator, Visitor<WasmValidator>>::doWalkFunction(func);
+ PostWalker<WasmValidator>::doWalkFunction(func);
}
private: