From 83cd8a4e2618e2883c97fc3a2fe58b544f8bf778 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 24 Nov 2015 15:07:47 -0800 Subject: create an AllocatingModule which handles allocation for its elements --- test/example/find_div0s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/example/find_div0s.cpp') diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp index 60eed5f62..d09f1de55 100644 --- a/test/example/find_div0s.cpp +++ b/test/example/find_div0s.cpp @@ -27,7 +27,7 @@ int main() { // Parse the S-Expression text, and prepare to build a WebAssembly module. SExpressionParser parser(input); Element& root = *parser.root; - Module module; + AllocatingModule module; // The parsed code has just one element, the module. Build the module // from that (and abort on any errors, but there won't be one here). -- cgit v1.2.3