summaryrefslogtreecommitdiff
path: root/src/wasm-as.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-12 14:35:58 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-12 14:44:25 -0700
commita18b153e1940b6e1504084c60f3feca46dfa2870 (patch)
tree38b19b4bd1d85799030cd5faa57dc0c5d79e21a6 /src/wasm-as.cpp
parent87c583fb258bd373219fdfae3fa181c2d10b56b7 (diff)
downloadbinaryen-a18b153e1940b6e1504084c60f3feca46dfa2870.tar.gz
binaryen-a18b153e1940b6e1504084c60f3feca46dfa2870.tar.bz2
binaryen-a18b153e1940b6e1504084c60f3feca46dfa2870.zip
use exceptions consistently to report input errors
Diffstat (limited to 'src/wasm-as.cpp')
-rw-r--r--src/wasm-as.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-as.cpp b/src/wasm-as.cpp
index eb03f853a..6995859a7 100644
--- a/src/wasm-as.cpp
+++ b/src/wasm-as.cpp
@@ -49,7 +49,7 @@ int main(int argc, const char *argv[]) {
if (options.debug) std::cerr << "w-parsing..." << std::endl;
Module wasm;
- SExpressionWasmBuilder builder(wasm, *root[0], [&]() { abort(); });
+ SExpressionWasmBuilder builder(wasm, *root[0]);
if (options.debug) std::cerr << "binarification..." << std::endl;
BufferWithRandomAccess buffer(options.debug);