diff options
Diffstat (limited to 'src/wasm-validator.h')
-rw-r--r-- | src/wasm-validator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-validator.h b/src/wasm-validator.h index 7b2987dd9..73aa7fecf 100644 --- a/src/wasm-validator.h +++ b/src/wasm-validator.h @@ -25,7 +25,7 @@ namespace wasm { -struct WasmValidator : public PostWalker<WasmValidator> { +struct WasmValidator : public PostWalker<WasmValidator, Visitor<WasmValidator>> { bool valid; std::map<Name, WasmType> breakTypes; // breaks to a label must all have the same type, and the right type @@ -118,7 +118,7 @@ public: private: // the "in" label has a none type, since no one can receive its value. make sure no one breaks to it with a value. - struct LoopChildChecker : public PostWalker<LoopChildChecker> { + struct LoopChildChecker : public PostWalker<LoopChildChecker, Visitor<LoopChildChecker>> { Name in; bool valid = true; |