File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4979,6 +4979,9 @@ void WasmBinaryReader::readFeatures(size_t payloadLen) {
4979
4979
}
4980
4980
} else if (name == BinaryConsts::CustomSections::BulkMemoryOptFeature) {
4981
4981
feature = FeatureSet::BulkMemoryOpt;
4982
+ } else if (name ==
4983
+ BinaryConsts::CustomSections::CallIndirectOverlongFeature) {
4984
+ feature = FeatureSet::CallIndirectOverlong;
4982
4985
} else if (name == BinaryConsts::CustomSections::ExceptionHandlingFeature) {
4983
4986
feature = FeatureSet::ExceptionHandling;
4984
4987
} else if (name == BinaryConsts::CustomSections::MutableGlobalsFeature) {
@@ -5013,6 +5016,8 @@ void WasmBinaryReader::readFeatures(size_t payloadLen) {
5013
5016
feature = FeatureSet::SharedEverything;
5014
5017
} else if (name == BinaryConsts::CustomSections::FP16Feature) {
5015
5018
feature = FeatureSet::FP16;
5019
+ } else if (name == BinaryConsts::CustomSections::CustomDescriptorsFeature) {
5020
+ feature = FeatureSet::CustomDescriptors;
5016
5021
} else {
5017
5022
// Silently ignore unknown features (this may be and old binaryen running
5018
5023
// on a new wasm).
Original file line number Diff line number Diff line change @@ -451,4 +451,6 @@ def test_emit_all_features(self):
451
451
'--enable-shared-everything' ,
452
452
'--enable-fp16' ,
453
453
'--enable-bulk-memory-opt' ,
454
+ '--enable-call-indirect-overlong' ,
455
+ '--enable-custom-descriptors' ,
454
456
], p2 .stdout .splitlines ())
You can’t perform that action at this time.
0 commit comments