From cfa616dffc11e82390070315cc2e4635e42c437e Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 11 Apr 2016 20:26:58 -0700 Subject: allow overriding startWalk(Function*) --- src/wasm-traversal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wasm-traversal.h b/src/wasm-traversal.h index c8de5d886..efbe12586 100644 --- a/src/wasm-traversal.h +++ b/src/wasm-traversal.h @@ -141,7 +141,7 @@ struct Walker : public Visitor { self->visitExport(curr); } for (auto curr : module->functions) { - startWalk(curr); + self->startWalk(curr); self->visitFunction(curr); } self->visitTable(&module->table); -- cgit v1.2.3