diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-12 14:35:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-12 14:44:25 -0700 |
commit | a18b153e1940b6e1504084c60f3feca46dfa2870 (patch) | |
tree | 38b19b4bd1d85799030cd5faa57dc0c5d79e21a6 /test | |
parent | 87c583fb258bd373219fdfae3fa181c2d10b56b7 (diff) | |
download | binaryen-a18b153e1940b6e1504084c60f3feca46dfa2870.tar.gz binaryen-a18b153e1940b6e1504084c60f3feca46dfa2870.tar.bz2 binaryen-a18b153e1940b6e1504084c60f3feca46dfa2870.zip |
use exceptions consistently to report input errors
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); |