diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2021-02-22 15:17:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 15:17:44 -0800 |
commit | 84eb631330cbeb2afc80df2c2c856a2392dc66bb (patch) | |
tree | 0dde8eb8f0dce527e302a3dcb0aac1cea0fd6443 /src/asmjs/asm_v_wasm.cpp | |
parent | 611e6de8c850dce19c3be0a636977cc6151d69ba (diff) | |
download | binaryen-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