From a3d940ff8020ad8adb525b4ab018fcd86d08c54a Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 7 Nov 2024 15:53:01 -0800 Subject: Rename indexType -> addressType. NFC (#7060) See https://github.com/WebAssembly/memory64/pull/92 --- src/ir/memory-utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir/memory-utils.cpp') diff --git a/src/ir/memory-utils.cpp b/src/ir/memory-utils.cpp index 552e4ff9a..70f316028 100644 --- a/src/ir/memory-utils.cpp +++ b/src/ir/memory-utils.cpp @@ -110,7 +110,7 @@ bool flatten(Module& wasm) { std::copy(segment->data.begin(), segment->data.end(), data.begin() + start); } dataSegments[0]->offset->cast()->value = - Literal::makeFromInt32(0, wasm.memories[0]->indexType); + Literal::makeFromInt32(0, wasm.memories[0]->addressType); dataSegments[0]->data.swap(data); wasm.removeDataSegments( [&](DataSegment* curr) { return curr->name != dataSegments[0]->name; }); -- cgit v1.2.3