diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-05-17 12:56:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-17 12:56:53 -0700 |
commit | 9c637288cf3b1c7505fa7d8edc1536b6e64d5967 (patch) | |
tree | fc7b0e579f3f9de41fca28c65551fb3359c8f40b /test/binaryen.js/atomics.js | |
parent | 1184678086b284944bb119a97ca048b64d4078b6 (diff) | |
download | binaryen-9c637288cf3b1c7505fa7d8edc1536b6e64d5967.tar.gz binaryen-9c637288cf3b1c7505fa7d8edc1536b6e64d5967.tar.bz2 binaryen-9c637288cf3b1c7505fa7d8edc1536b6e64d5967.zip |
Features C/JS API (#2049)
Add feature handling to the C/JS APIs. No features are enabled by
default, so all used features will have to be explicitly enabled in
order for modules to validate.
Diffstat (limited to 'test/binaryen.js/atomics.js')
-rw-r--r-- | test/binaryen.js/atomics.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/binaryen.js/atomics.js b/test/binaryen.js/atomics.js index a3880902f..7eb9cb8ec 100644 --- a/test/binaryen.js/atomics.js +++ b/test/binaryen.js/atomics.js @@ -59,5 +59,6 @@ module.addFunction("main", signature, [], module.block("", [ ) ])); +module.setFeatures(Binaryen.Features.Atomics); module.validate(); console.log(module.emitText()); |