diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-24 15:07:47 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-24 15:09:49 -0800 |
commit | 83cd8a4e2618e2883c97fc3a2fe58b544f8bf778 (patch) | |
tree | e8cadfd3c00f461e66c5eba2c8781eda1c5345bf /test/example/find_div0s.cpp | |
parent | e97c5c94c14e83ff7535bafb80a9ae0bae332030 (diff) | |
download | binaryen-83cd8a4e2618e2883c97fc3a2fe58b544f8bf778.tar.gz binaryen-83cd8a4e2618e2883c97fc3a2fe58b544f8bf778.tar.bz2 binaryen-83cd8a4e2618e2883c97fc3a2fe58b544f8bf778.zip |
create an AllocatingModule which handles allocation for its elements
Diffstat (limited to 'test/example/find_div0s.cpp')
-rw-r--r-- | test/example/find_div0s.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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). |