diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-09-08 05:58:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 05:58:28 +0200 |
commit | 4a8d1abc61e657436616203a75935b3df8af515b (patch) | |
tree | 5e234a1310af6e63c2526c5d9cfb511eed574660 /test/binaryen.js/exception-handling.js | |
parent | a6816a287bd3f802cb6db51032e77145f036c8b7 (diff) | |
download | binaryen-4a8d1abc61e657436616203a75935b3df8af515b.tar.gz binaryen-4a8d1abc61e657436616203a75935b3df8af515b.tar.bz2 binaryen-4a8d1abc61e657436616203a75935b3df8af515b.zip |
Fix Relooper leaking Branches (#3097)
Fixes the `Relooper` leaking `Branch`es in `Optimizer::SkipEmptyBlocks`, by refactoring the API so a `std::unique_ptr` is ensured for each `Block`, `Branch` and `Shape` upon adding to the relooper.
Diffstat (limited to 'test/binaryen.js/exception-handling.js')
0 files changed, 0 insertions, 0 deletions