summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-s-parser.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@users.noreply.github.com>2017-08-16 15:01:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2017-08-16 15:01:56 -0700
commit5fafb87a2819cebd94941c77c07ebe067471eb7d (patch)
tree232edd6e144a43094bf2127a6a6e4913a5674884 /src/wasm/wasm-s-parser.cpp
parent21d06aea04244fa71b5053bd87f2ec6a2ac9d5c2 (diff)
downloadbinaryen-5fafb87a2819cebd94941c77c07ebe067471eb7d.tar.gz
binaryen-5fafb87a2819cebd94941c77c07ebe067471eb7d.tar.bz2
binaryen-5fafb87a2819cebd94941c77c07ebe067471eb7d.zip
wasm2asm test generation (#1124)
* Translate assert_return invokes to asm * Translate assert_trap tests to JS * Enable wasm2asm tests * Fix wasm2asm translation of store * Update ubuntu nodejs in Travis * Free JSPrinter buffer * Use unique_ptr for Functions to prevent leaks * Add tests for assert translation
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
-rw-r--r--src/wasm/wasm-s-parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-s-parser.cpp b/src/wasm/wasm-s-parser.cpp
index e991f71de..044507e86 100644
--- a/src/wasm/wasm-s-parser.cpp
+++ b/src/wasm/wasm-s-parser.cpp
@@ -495,7 +495,7 @@ void SExpressionWasmBuilder::parseFunction(Element& s, bool preParseImport) {
std::move(params),
result,
std::move(vars)
- ));
+ ));
};
auto ensureAutoBlock = [&]() {
if (!autoBlock) {