diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-05-29 15:08:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-29 15:08:55 -0700 |
commit | b60dad3428ae61efe8ed38d0f2ad5a45081d4c39 (patch) | |
tree | 09b085192af5ed706df3f621f64d277deebb8f5f /src/js | |
parent | 4b05489435a8f7c4a149db16a11f6c82ce63d622 (diff) | |
download | binaryen-b60dad3428ae61efe8ed38d0f2ad5a45081d4c39.tar.gz binaryen-b60dad3428ae61efe8ed38d0f2ad5a45081d4c39.tar.bz2 binaryen-b60dad3428ae61efe8ed38d0f2ad5a45081d4c39.zip |
Add Features.MVP and Features.All to binaryen.js (#2148)
This adds `Features.MVP` and `Features.All` to binaryen.js and make test
cases use it.
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/binaryen.js-post.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index c64d3caca..180d08bb5 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -87,6 +87,7 @@ Module['ExternalGlobal'] = Module['_BinaryenExternalGlobal'](); // Features Module['Features'] = { + 'MVP': Module['_BinaryenFeatureMVP'](), 'Atomics': Module['_BinaryenFeatureAtomics'](), 'BulkMemory': Module['_BinaryenFeatureBulkMemory'](), 'MutableGlobals': Module['_BinaryenFeatureMutableGlobals'](), @@ -94,6 +95,7 @@ Module['Features'] = { 'SignExt': Module['_BinaryenFeatureSignExt'](), 'SIMD128': Module['_BinaryenFeatureSIMD128'](), 'ExceptionHandling': Module['_BinaryenFeatureExceptionHandling'](), + 'All': Module['_BinaryenFeatureAll']() }; // Operations |