summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 0f542294c..44326948b 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1502,7 +1502,11 @@ public:
Address initial, max; // sizes are in pages
std::vector<Segment> segments;
- Memory() : initial(0), max(kMaxSize) {
+ // See comment in Table.
+ bool exists;
+ bool imported;
+
+ Memory() : initial(0), max(kMaxSize), exists(false), imported(false) {
name = Name::fromInt(0);
}
};