diff options
Diffstat (limited to 'src/wasm-features.h')
-rw-r--r-- | src/wasm-features.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/wasm-features.h b/src/wasm-features.h index d31715f18..6337f6af9 100644 --- a/src/wasm-features.h +++ b/src/wasm-features.h @@ -84,18 +84,24 @@ struct FeatureSet { } template<typename F> void iterFeatures(F f) { - if (hasAtomics()) + if (hasAtomics()) { f(Atomics); - if (hasBulkMemory()) + } + if (hasBulkMemory()) { f(BulkMemory); - if (hasMutableGlobals()) + } + if (hasMutableGlobals()) { f(MutableGlobals); - if (hasTruncSat()) + } + if (hasTruncSat()) { f(TruncSat); - if (hasSignExt()) + } + if (hasSignExt()) { f(SignExt); - if (hasSIMD()) + } + if (hasSIMD()) { f(SIMD); + } } bool operator<=(const FeatureSet& other) const { |