diff options
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 19c532d1d..a181278ab 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -622,6 +622,7 @@ private: while (i < s.size()) { Element& curr = *s[i]; assert(curr[0]->str() == SEGMENT); + wasm.memory.segments.emplace_back(atoi(curr[1]->c_str()), strdup(curr[2]->c_str())); i++; } } |