diff options
author | Alon Zakai <azakai@google.com> | 2020-03-04 13:21:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 13:21:39 -0800 |
commit | 57a81a04f7a49593438dcae4ca8cbad8e465dc2e (patch) | |
tree | 02f8732873e8ef2608a94610857e2fb13de813ca /src/wasm/wasm.cpp | |
parent | 2a0f6a513c6d6a99d16ca31de3e76a63b1490b4c (diff) | |
download | binaryen-57a81a04f7a49593438dcae4ca8cbad8e465dc2e.tar.gz binaryen-57a81a04f7a49593438dcae4ca8cbad8e465dc2e.tar.bz2 binaryen-57a81a04f7a49593438dcae4ca8cbad8e465dc2e.zip |
Expose asyncify state via a getter (#2679)
Normally, a wrapper has to track state separately to know when to
unwind/rewind and when to actually call import functions.
Exposing Asyncify state can help avoid this duplication and avoid
subtle bugs when internal and wrapper state get out of sync.
Since this is a tiny function and it's useful for any Asyncify
embedder, I've decided to expose it by default rather than hide behind an option.
Diffstat (limited to 'src/wasm/wasm.cpp')
0 files changed, 0 insertions, 0 deletions