summaryrefslogtreecommitdiff
path: root/test/reference-types.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-10-14 14:26:13 -0700
committerGitHub <noreply@github.com>2020-10-14 14:26:13 -0700
commit6216becd5e8d93cd17c758a63f24db4494719e2c (patch)
treec2db39f2f04e51a988559cb5c5c65965a806c3d0 /test/reference-types.wast.fromBinary.noDebugInfo
parent6f255d3bea628bd8d2ae2e43d29faeac6dbd7daf (diff)
downloadbinaryen-6216becd5e8d93cd17c758a63f24db4494719e2c.tar.gz
binaryen-6216becd5e8d93cd17c758a63f24db4494719e2c.tar.bz2
binaryen-6216becd5e8d93cd17c758a63f24db4494719e2c.zip
[MemoryPacking] Emit the correct segment indices on memory.init (#3239)
This PR fixes a bug in which the segment index of a memory.init instruction was incorrect in some circumstances. Specifically, the first segment index used in output memory.init instructions was always the index of the first segment created from splitting up the corresponding input segment. This was incorrect when the input memory.init had an offset that caused it to skip over that first emitted segment so that the first output memory.init should have referred to a subsequent output segment. Fixes #3225.
Diffstat (limited to 'test/reference-types.wast.fromBinary.noDebugInfo')
0 files changed, 0 insertions, 0 deletions