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 /build-js.sh | |
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 'build-js.sh')
-rwxr-xr-x | build-js.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build-js.sh b/build-js.sh index 7d9f51b5d..8317bce4a 100755 --- a/build-js.sh +++ b/build-js.sh @@ -230,6 +230,15 @@ export_function "_BinaryenExternalTable" export_function "_BinaryenExternalMemory" export_function "_BinaryenExternalGlobal" +# Features +export_function "_BinaryenFeatureAtomics" +export_function "_BinaryenFeatureBulkMemory" +export_function "_BinaryenFeatureMutableGlobals" +export_function "_BinaryenFeatureNontrappingFPToInt" +export_function "_BinaryenFeatureSignExt" +export_function "_BinaryenFeatureSIMD128" +export_function "_BinaryenFeatureExceptionHandling" + # Literals export_function "_BinaryenLiteralInt32" export_function "_BinaryenLiteralInt64" @@ -758,6 +767,8 @@ export_function "_BinaryenRemoveExport" export_function "_BinaryenSetFunctionTable" export_function "_BinaryenSetMemory" export_function "_BinaryenSetStart" +export_function "_BinaryenGetFeatures" +export_function "_BinaryenSetFeatures" export_function "_BinaryenModuleParse" export_function "_BinaryenModulePrint" export_function "_BinaryenModulePrintAsmjs" |