diff options
author | Sam Clegg <sbc@chromium.org> | 2024-11-07 15:53:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-07 23:53:01 +0000 |
commit | a3d940ff8020ad8adb525b4ab018fcd86d08c54a (patch) | |
tree | 35b5f3fada3b53f36c949825a288c3dec8884cd1 /src/wasm.h | |
parent | 7a0e738e363d13880ec25018134e178d57c5ba6a (diff) | |
download | binaryen-a3d940ff8020ad8adb525b4ab018fcd86d08c54a.tar.gz binaryen-a3d940ff8020ad8adb525b4ab018fcd86d08c54a.tar.bz2 binaryen-a3d940ff8020ad8adb525b4ab018fcd86d08c54a.zip |
Rename indexType -> addressType. NFC (#7060)
See https://github.com/WebAssembly/memory64/pull/92
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wasm.h b/src/wasm.h index 85473b1f9..22e71560f 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -2204,11 +2204,11 @@ public: Address initial = 0; Address max = kMaxSize; - Type indexType = Type::i32; + Type addressType = Type::i32; Type type = Type(HeapType::func, Nullable); bool hasMax() { return max != kUnlimitedSize; } - bool is64() { return indexType == Type::i64; } + bool is64() { return addressType == Type::i64; } void clear() { name = ""; initial = 0; @@ -2238,16 +2238,16 @@ public: Address max = kMaxSize32; bool shared = false; - Type indexType = Type::i32; + Type addressType = Type::i32; bool hasMax() { return max != kUnlimitedSize; } - bool is64() { return indexType == Type::i64; } + bool is64() { return addressType == Type::i64; } void clear() { name = ""; initial = 0; max = kMaxSize32; shared = false; - indexType = Type::i32; + addressType = Type::i32; } }; |