summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index c0129cf23..82933bda0 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1432,7 +1432,12 @@ public:
class Table {
public:
+ static const Index kMaxSize = Index(-1);
+
+ Address initial, max;
std::vector<Name> names;
+
+ Table() : initial(0), max(kMaxSize) {}
};
class Memory {