summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-04-05 06:10:23 -0700
committerGitHub <noreply@github.com>2023-04-05 08:10:23 -0500
commit9ee557aa7fbb494b222c4692cbef1c2be983e532 (patch)
tree45af4d3506ca6f259914e5a23d88f19bebbf62c6 /src/wasm-binary.h
parentd7c24bc6796616b821b6b0dfcd649dbf1c821cb3 (diff)
downloadbinaryen-9ee557aa7fbb494b222c4692cbef1c2be983e532.tar.gz
binaryen-9ee557aa7fbb494b222c4692cbef1c2be983e532.tar.bz2
binaryen-9ee557aa7fbb494b222c4692cbef1c2be983e532.zip
Fix a crash in MemoryPacking due to an unreachable pointer (#5623)
Previously, the pointer type for newly emitted instructions was determined by the type of the destination pointer on a memory.init instruction, but that did not take into account that the destination pointer may be unreachable. Properly look up the pointer type on the memory instead to fix the problem. Fixes #5620.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions