diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-12 17:18:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-12 17:18:55 -0700 |
commit | f518f097c80c0659fbacf11fe12f89955093282b (patch) | |
tree | d26db91c5767989b3f824a0bbcf30a02259fb656 /test | |
parent | d84fd5be60d4ead6bc9fbb3f27a710bef0c688c8 (diff) | |
parent | c8293a3f9112ad486f6f3639fc5680d73e7559ca (diff) | |
download | binaryen-f518f097c80c0659fbacf11fe12f89955093282b.tar.gz binaryen-f518f097c80c0659fbacf11fe12f89955093282b.tar.bz2 binaryen-f518f097c80c0659fbacf11fe12f89955093282b.zip |
Merge pull request #488 from WebAssembly/error_reporting
Better error reporting
Diffstat (limited to 'test')
-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 4528c7cb4..c3a2c0750 100644 --- a/test/example/find_div0s.cpp +++ b/test/example/find_div0s.cpp @@ -32,7 +32,7 @@ int main() { // 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). - SExpressionWasmBuilder builder(module, *root[0], [&]() { abort(); }); + SExpressionWasmBuilder builder(module, *root[0]); // Print it out WasmPrinter::printModule(&module, std::cout); |