diff options
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r-- | src/wasm-builder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h index fbc680d17..54766a789 100644 --- a/src/wasm-builder.h +++ b/src/wasm-builder.h @@ -666,7 +666,7 @@ public: MemoryInfo info = MemoryInfo::Unspecified) { auto* ret = wasm.allocator.alloc<MemorySize>(); if (isMemory64(memoryName, info)) { - ret->make64(); + ret->type = Type::i64; } ret->memory = memoryName; ret->finalize(); @@ -677,7 +677,7 @@ public: MemoryInfo info = MemoryInfo::Unspecified) { auto* ret = wasm.allocator.alloc<MemoryGrow>(); if (isMemory64(memoryName, info)) { - ret->make64(); + ret->type = Type::i64; } ret->delta = delta; ret->memory = memoryName; |