diff options
author | Heejin Ahn <aheejin@gmail.com> | 2021-05-20 19:54:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 19:54:46 -0700 |
commit | 24d71aa0146a6dacfce5d84a11c88195e66eee0a (patch) | |
tree | 76378ea766849e5be3ba85648b5a27a0af5bc33e /test/binaryen.js/expressions.js | |
parent | dede877475625fa37e86400e3f4db363b76cd151 (diff) | |
download | binaryen-24d71aa0146a6dacfce5d84a11c88195e66eee0a.tar.gz binaryen-24d71aa0146a6dacfce5d84a11c88195e66eee0a.tar.bz2 binaryen-24d71aa0146a6dacfce5d84a11c88195e66eee0a.zip |
[EH] Change Walker::TaskFunc back to function pointer (#3899)
`Walker::TaskFunc` has changed from a function pointer to
`std::function` in #3494, mainly to make the EH support for `CFGWalker`
easier. We didn't notice much performance difference then, but it was
recently reported that it creased binaryen.js code size and performance.
This changes `Walker::TaskFunc` back to a function pointer and does a
little more work to manage catch index in `CFGWalker` side.
Hopefully fixes #3857.
Diffstat (limited to 'test/binaryen.js/expressions.js')
0 files changed, 0 insertions, 0 deletions