diff options
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r-- | src/wasm-interpreter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index b216aa7ae..05135bfb3 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -192,6 +192,7 @@ public: Index maxLoopIterations = NO_LIMIT) : module(module), maxDepth(maxDepth), maxLoopIterations(maxLoopIterations) { } + virtual ~ExpressionRunner() = default; Flow visit(Expression* curr) { depth++; @@ -2066,6 +2067,7 @@ public: // an imported function or accessing memory. // struct ExternalInterface { + virtual ~ExternalInterface() = default; virtual void init(Module& wasm, SubType& instance) {} virtual void importGlobals(GlobalManager& globals, Module& wasm) = 0; virtual Literals callImport(Function* import, LiteralList& arguments) = 0; |