From b60dad3428ae61efe8ed38d0f2ad5a45081d4c39 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Wed, 29 May 2019 15:08:55 -0700 Subject: 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. --- src/js/binaryen.js-post.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/js/binaryen.js-post.js') 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 -- cgit v1.2.3