diff options
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
-rw-r--r-- | src/wasm/wasm-binary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index d72626b90..c8ced1327 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp @@ -6882,7 +6882,7 @@ void WasmBinaryReader::visitMemorySize(MemorySize* curr) { BYN_TRACE("zz node: MemorySize\n"); Index index = getU32LEB(); if (getMemory(index)->is64()) { - curr->make64(); + curr->type = Type::i64; } curr->finalize(); memoryRefs[index].push_back(&curr->memory); @@ -6893,7 +6893,7 @@ void WasmBinaryReader::visitMemoryGrow(MemoryGrow* curr) { curr->delta = popNonVoidExpression(); Index index = getU32LEB(); if (getMemory(index)->is64()) { - curr->make64(); + curr->type = Type::i64; } memoryRefs[index].push_back(&curr->memory); } |