diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-09-02 21:57:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 21:57:04 +0200 |
commit | 7c1253ee4513ec86e851536e29fd5f11d13b0b19 (patch) | |
tree | 1d71d5d46f8c48eb7c9e1ad31efd8239292fed1d /src/wasm-traversal.h | |
parent | 7438b6cbcb9b194db59c0e5c497208ce57c964a9 (diff) | |
download | binaryen-7c1253ee4513ec86e851536e29fd5f11d13b0b19.tar.gz binaryen-7c1253ee4513ec86e851536e29fd5f11d13b0b19.tar.bz2 binaryen-7c1253ee4513ec86e851536e29fd5f11d13b0b19.zip |
Fix LegalizeJSInterface leaking duplicate stub Functions (#3095)
Fixes `LegalizeJSInterface::makeLegalStub` forgetting to `delete` stub Functions that turned out to be not needed. Now checks whether a stub is needed and otherwise skips creating the redundant stub right away.
Diffstat (limited to 'src/wasm-traversal.h')
0 files changed, 0 insertions, 0 deletions