summaryrefslogtreecommitdiff
path: root/src/wasm-ast-checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-ast-checker.c')
-rw-r--r--src/wasm-ast-checker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-ast-checker.c b/src/wasm-ast-checker.c
index 82eee30d..fb51b5c7 100644
--- a/src/wasm-ast-checker.c
+++ b/src/wasm-ast-checker.c
@@ -1111,6 +1111,9 @@ static void check_import(Context* ctx,
case WASM_EXTERNAL_KIND_GLOBAL:
check_global(ctx, loc, &import->global);
break;
+ case WASM_NUM_EXTERNAL_KINDS:
+ assert(0);
+ break;
}
}