diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2021-04-05 12:38:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 12:38:16 -0700 |
commit | 3c79f17a7dadb396f955f0912858c3230ed8e10e (patch) | |
tree | d0d997d0c68a6f1b2c4f76557c002d8a7b828169 /src/common.h | |
parent | 15a5156b05981c16ba181fae0e35c50418f86df0 (diff) | |
download | wabt-3c79f17a7dadb396f955f0912858c3230ed8e10e.tar.gz wabt-3c79f17a7dadb396f955f0912858c3230ed8e10e.tar.bz2 wabt-3c79f17a7dadb396f955f0912858c3230ed8e10e.zip |
Memory64: support 64-bit data init-expr (#1656)
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; |