summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2024-11-07 15:53:01 -0800
committerGitHub <noreply@github.com>2024-11-07 23:53:01 +0000
commita3d940ff8020ad8adb525b4ab018fcd86d08c54a (patch)
tree35b5f3fada3b53f36c949825a288c3dec8884cd1 /src/wasm.h
parent7a0e738e363d13880ec25018134e178d57c5ba6a (diff)
downloadbinaryen-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.h10
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;
}
};