diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-binary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 9dd0d60d6..bbfde5b21 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1567,7 +1567,7 @@ public: std::vector<Function*> functions; // we store functions here before wasm.addFunction after we know their names std::map<Index, std::vector<Call*>> functionCalls; // at index i we have all calls to the defined function i Function* currFunction = nullptr; - size_t endOfFunction; + Index endOfFunction = -1; // before we see a function (like global init expressions), there is no end of function to check void readFunctions() { if (debug) std::cerr << "== readFunctions" << std::endl; |