summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index ca9392d98..0f542294c 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1469,11 +1469,12 @@ public:
// Currently the wasm object always 'has' one Table. It 'exists' if it has been defined or imported.
// The table can exist but be empty and have no defined initial or max size.
bool exists;
+ bool imported;
Name name;
Address initial, max;
std::vector<Segment> segments;
- Table() : exists(false), initial(0), max(kMaxSize) {
+ Table() : exists(false), imported(false), initial(0), max(kMaxSize) {
name = Name::fromInt(0);
}
};