diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-02-04 16:36:31 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-02-05 12:44:39 -0800 |
commit | 22ec908443eec3b7e1112562c089398692fb5feb (patch) | |
tree | c2bfd7828dffe00ba95cc35492127bc777e2e284 /src | |
parent | 323b61318d81a140584aae22fad102209b42294a (diff) | |
download | binaryen-22ec908443eec3b7e1112562c089398692fb5feb.tar.gz binaryen-22ec908443eec3b7e1112562c089398692fb5feb.tar.bz2 binaryen-22ec908443eec3b7e1112562c089398692fb5feb.zip |
fix import parsing
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-s-parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 64dc6a454..dc946fc3b 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -229,7 +229,7 @@ class SExpressionWasmBuilder { public: // Assumes control of and modifies the input. - SExpressionWasmBuilder(AllocatingModule& wasm, Element& module, std::function<void ()> onError, bool debug=false) : wasm(wasm), allocator(wasm.allocator), onError(onError), debug(debug) { + SExpressionWasmBuilder(AllocatingModule& wasm, Element& module, std::function<void ()> onError, bool debug=false) : wasm(wasm), allocator(wasm.allocator), onError(onError), importCounter(0), debug(debug) { assert(module[0]->str() == MODULE); functionCounter = 0; for (unsigned i = 1; i < module.size(); i++) { |