diff options
author | Alon Zakai <azakai@google.com> | 2022-09-28 15:20:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 15:20:14 -0700 |
commit | e8915d2a0f8ab592d5da2d572c971a65b753c87c (patch) | |
tree | f4447cb98d87b12297148e4899521566c413ac95 /src/wasm-debug.h | |
parent | e70806cd724a732eb6e8f9d3a20e2493eabfb808 (diff) | |
download | binaryen-e8915d2a0f8ab592d5da2d572c971a65b753c87c.tar.gz binaryen-e8915d2a0f8ab592d5da2d572c971a65b753c87c.tar.bz2 binaryen-e8915d2a0f8ab592d5da2d572c971a65b753c87c.zip |
Fix nondeterminism in GlobalStructInference (#5092)
We append to vectors of globals in a nondeterministically-ordered loop, which can lead to
different orderings of the vectors. This happens quite frequently in very large J2Wasm
files it turns out. As a solution, simply sort them after the nondeterministic stage.
Diffstat (limited to 'src/wasm-debug.h')
0 files changed, 0 insertions, 0 deletions