summaryrefslogtreecommitdiff
path: root/src/wasm-validator.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2018-12-03 18:26:16 -0800
committerGitHub <noreply@github.com>2018-12-03 18:26:16 -0800
commit6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8 (patch)
tree5b343da66f58c7fff1fbcd401dcec3e913ea49ff /src/wasm-validator.h
parent99cad87cea463fc3b978850a1d1416d9b338a14c (diff)
downloadbinaryen-6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8.tar.gz
binaryen-6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8.tar.bz2
binaryen-6b6e89d0c8feeead83d6d83fa94e17fc9f75e0f8.zip
Feature options (#1797)
Add feature flags and struct interface. Default feature set has all feature enabled.
Diffstat (limited to 'src/wasm-validator.h')
-rw-r--r--src/wasm-validator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-validator.h b/src/wasm-validator.h
index 81d65a6bd..3c0b6018b 100644
--- a/src/wasm-validator.h
+++ b/src/wasm-validator.h
@@ -57,7 +57,7 @@ struct WasmValidator {
};
typedef uint32_t Flags;
- bool validate(Module& module, FeatureSet features = MVP, Flags flags = Globally);
+ bool validate(Module& module, FeatureSet features = FeatureSet::MVP, Flags flags = Globally);
};
} // namespace wasm