diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-09-17 07:46:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 07:46:40 +0200 |
commit | e1d74ef2acdd88f06b9e58f91f30bb56b9a26fe8 (patch) | |
tree | 3b52301afd147617cf14e32fd487378394bc709b /src/js/binaryen.js-post.js | |
parent | a96e8310e1a58c0a43b2d0e2ff4f9db24dd9a18a (diff) | |
download | binaryen-e1d74ef2acdd88f06b9e58f91f30bb56b9a26fe8.tar.gz binaryen-e1d74ef2acdd88f06b9e58f91f30bb56b9a26fe8.tar.bz2 binaryen-e1d74ef2acdd88f06b9e58f91f30bb56b9a26fe8.zip |
Add GC feature flag (#3135)
Adds the `--enable-gc` feature flag, so far enabling the `anyref` type incl. subtyping, and removes the temporary `--enable-anyref` feature flag that it replaces.
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r-- | src/js/binaryen.js-post.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js index d7c1878fd..7f5467312 100644 --- a/src/js/binaryen.js-post.js +++ b/src/js/binaryen.js-post.js @@ -121,7 +121,7 @@ function initializeConstants() { 'TailCall', 'ReferenceTypes', 'Multivalue', - 'Anyref', + 'GC', 'All' ].forEach(name => { Module['Features'][name] = Module['_BinaryenFeature' + name](); |