diff options
author | Thomas Lively <tlively@google.com> | 2023-04-05 06:10:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 08:10:23 -0500 |
commit | 9ee557aa7fbb494b222c4692cbef1c2be983e532 (patch) | |
tree | 45af4d3506ca6f259914e5a23d88f19bebbf62c6 /src/wasm-binary.h | |
parent | d7c24bc6796616b821b6b0dfcd649dbf1c821cb3 (diff) | |
download | binaryen-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