Index: src/IceBuildDefs.h |
diff --git a/src/IceBuildDefs.h b/src/IceBuildDefs.h |
index 3b32cecab1f6d8b4a4cc00d6243a2bd6f973779b..8490c5504ce071bb2a6f123ae5b981963e5aea2d 100644 |
--- a/src/IceBuildDefs.h |
+++ b/src/IceBuildDefs.h |
@@ -90,6 +90,8 @@ constexpr bool llvmIr() { return ALLOW_LLVM_IR; } |
constexpr bool llvmIrAsInput() { return ALLOW_LLVM_IR_AS_INPUT; } |
/// Return true if ALLOW_MINIMAL_BUILD is defined as a non-zero value |
constexpr bool minimal() { return ALLOW_MINIMAL_BUILD; } |
+/// Return true if ALLOW_WASM is defined as a non-zero value |
+constexpr bool wasm() { return ALLOW_WASM; } |
/// Return true if NDEBUG is defined |
constexpr bool asserts() { |