diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-12-27 21:42:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-27 21:42:44 -0500 |
commit | 575d695762f545e1c2784595d9c926488062f383 (patch) | |
tree | 5f18013a7cb2fa39c7a62aa11b2753e86725477c /src/wasm/wasm-s-parser.cpp | |
parent | e5704f392404b1f69d762217b89e3b8736277f08 (diff) | |
parent | 97968a879d0b55baccb5f72627fca84a6a015356 (diff) | |
download | binaryen-575d695762f545e1c2784595d9c926488062f383.tar.gz binaryen-575d695762f545e1c2784595d9c926488062f383.tar.bz2 binaryen-575d695762f545e1c2784595d9c926488062f383.zip |
Merge pull request #859 from WebAssembly/linking
Dynamic linking
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
-rw-r--r-- | src/wasm/wasm-s-parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-s-parser.cpp b/src/wasm/wasm-s-parser.cpp index 5898cc252..3fcb85c6b 100644 --- a/src/wasm/wasm-s-parser.cpp +++ b/src/wasm/wasm-s-parser.cpp @@ -1573,7 +1573,7 @@ void SExpressionWasmBuilder::parseImport(Element& s) { if (j < inner.size() - 1) { wasm.table.max = atoi(inner[j++]->c_str()); } else { - wasm.table.max = wasm.table.initial; + wasm.table.max = Table::kMaxSize; } // ends with the table element type } else if (im->kind == ExternalKind::Memory) { |