diff options
author | Derek Schuff <dschuff@chromium.org> | 2024-12-06 12:34:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 20:34:19 +0000 |
commit | 729ea41d145d369b203dca6f70b251ea365cb3d0 (patch) | |
tree | 269217c2d17d6e8a4a59eb6b822aa4cdac17aa28 /src/wasm-binary.h | |
parent | 3f82ffc70362bf967d91d3cb56ee4c8c5ebe1161 (diff) | |
download | binaryen-729ea41d145d369b203dca6f70b251ea365cb3d0.tar.gz binaryen-729ea41d145d369b203dca6f70b251ea365cb3d0.tar.bz2 binaryen-729ea41d145d369b203dca6f70b251ea365cb3d0.zip |
Add bulk-memory-opt feature and ignore call-indirect-overlong (#7139)
LLVM recently split the bulk-memory-opt feature out from bulk-memory,
containing just memory.copy and memory.fill. This change follows that,
making bulk-memory-opt also enabled when all of bulk-memory is enabled.
It also introduces call-indirect-overlong following LLVM, but ignores
it, since Binaryen has always allowed the encoding (i.e. command
line flags enabling or disabling the feature are accepted but
ignored).
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 7c32e2169..163a62b1e 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -396,6 +396,8 @@ extern const char* MultiMemoryFeature; extern const char* TypedContinuationsFeature; extern const char* SharedEverythingFeature; extern const char* FP16Feature; +extern const char* BulkMemoryOptFeature; +extern const char* CallIndirectOverlongFeature; enum Subsection { NameModule = 0, |