diff options
author | Heejin Ahn <aheejin@gmail.com> | 2020-05-06 16:38:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 16:38:37 -0700 |
commit | 5585d3a46f2b1daf74d4a7cf7b1d9a17b102b05c (patch) | |
tree | 19718aa2c531542e67165b5062aa97ddcf2e9037 /test/binaryen.js/functions.js | |
parent | 33ee4ccd4985ab134bf48dac4088131105290fee (diff) | |
download | binaryen-5585d3a46f2b1daf74d4a7cf7b1d9a17b102b05c.tar.gz binaryen-5585d3a46f2b1daf74d4a7cf7b1d9a17b102b05c.tar.bz2 binaryen-5585d3a46f2b1daf74d4a7cf7b1d9a17b102b05c.zip |
Add interpreter support for EH (#2780)
This adds interpreter support for EH instructions. This adds
`ExceptionPackage` struct, which contains info of a thrown exception (an
event tag and thrown values), and the union in `Literal` can take a
`unique_ptr` to `ExceptionPackage`. We need a destructor, a copy
constructor, and an assignment operator for `Literal`, because the union
in `Literal` now has a member that cannot be trivially copied or
deleted.
Diffstat (limited to 'test/binaryen.js/functions.js')
0 files changed, 0 insertions, 0 deletions