summaryrefslogtreecommitdiff
path: root/src/asmjs/asm_v_wasm.cpp
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2021-02-22 15:17:44 -0800
committerGitHub <noreply@github.com>2021-02-22 15:17:44 -0800
commit84eb631330cbeb2afc80df2c2c856a2392dc66bb (patch)
tree0dde8eb8f0dce527e302a3dcb0aac1cea0fd6443 /src/asmjs/asm_v_wasm.cpp
parent611e6de8c850dce19c3be0a636977cc6151d69ba (diff)
downloadbinaryen-84eb631330cbeb2afc80df2c2c856a2392dc66bb.tar.gz
binaryen-84eb631330cbeb2afc80df2c2c856a2392dc66bb.tar.bz2
binaryen-84eb631330cbeb2afc80df2c2c856a2392dc66bb.zip
Fix global destructor ordering problem (#3592)
On Windows/VS the maps in this code caused a double-delete of a Literal. Given that order of destruction is unspecified, I decided to make them locals, which fixed it. Not sure if there is still a latent ordering bug, but not having these as globals seems an improvement regardless.
Diffstat (limited to 'src/asmjs/asm_v_wasm.cpp')
0 files changed, 0 insertions, 0 deletions