summaryrefslogtreecommitdiff
path: root/src/js/binaryen.js-post.js
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-03-19 02:29:35 +0000
committerGitHub <noreply@github.com>2022-03-19 02:29:35 +0000
commitd2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20 (patch)
tree3f6c5dafbf558d29e0bf72a33be973d55d6c10ef /src/js/binaryen.js-post.js
parent88c2e4377df7dbe65bc8ef629ea409cd9df6a860 (diff)
downloadbinaryen-d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20.tar.gz
binaryen-d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20.tar.bz2
binaryen-d2f54b40e736cdee2a0ff9fc15e9323ccb9d7c20.zip
Add support for extended-const proposal (#4529)
See https://github.com/WebAssembly/extended-const
Diffstat (limited to 'src/js/binaryen.js-post.js')
-rw-r--r--src/js/binaryen.js-post.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js
index ee90aa1fc..7dfeee26c 100644
--- a/src/js/binaryen.js-post.js
+++ b/src/js/binaryen.js-post.js
@@ -149,6 +149,7 @@ function initializeConstants() {
'Memory64',
'TypedFunctionReferences',
'RelaxedSIMD',
+ 'ExtendedConst',
'All'
].forEach(name => {
Module['Features'][name] = Module['_BinaryenFeature' + name]();