diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index dbac0a89..e0b50f17 100644 --- a/src/common.h +++ b/src/common.h @@ -394,6 +394,7 @@ struct Limits { has_max(true), is_shared(is_shared), is_64(is_64) {} + Type IndexType() const { return is_64 ? Type::I64 : Type::I32; } uint64_t initial = 0; uint64_t max = 0; |