summaryrefslogtreecommitdiff
path: root/src/wasm-features.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-features.h')
-rw-r--r--src/wasm-features.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm-features.h b/src/wasm-features.h
index c9496bb42..ba3cb7856 100644
--- a/src/wasm-features.h
+++ b/src/wasm-features.h
@@ -21,6 +21,7 @@
#include <string>
#include "compiler-support.h"
+#include "support/utilities.h"
struct FeatureSet {
enum Feature : uint32_t {
@@ -58,7 +59,7 @@ struct FeatureSet {
case ReferenceTypes:
return "reference-types";
default:
- WASM_UNREACHABLE();
+ WASM_UNREACHABLE("unexpected feature");
}
}