diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h index ebc7b908d..2f3f09ad5 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -2276,9 +2276,11 @@ public: Address initial = 0; Address max = kMaxSize; + Type indexType = Type::i32; Type type = Type(HeapType::func, Nullable); bool hasMax() { return max != kUnlimitedSize; } + bool is64() { return indexType == Type::i64; } void clear() { name = ""; initial = 0; |