summaryrefslogtreecommitdiff
path: root/src/wasm-traversal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-traversal.h')
-rw-r--r--src/wasm-traversal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-traversal.h b/src/wasm-traversal.h
index 5bb176756..9ea1124d0 100644
--- a/src/wasm-traversal.h
+++ b/src/wasm-traversal.h
@@ -602,7 +602,7 @@ struct PostWalker : public Walker<SubType, VisitorType> {
self->pushTask(SubType::doVisitUnreachable, currp);
break;
}
- default: WASM_UNREACHABLE();
+ case Expression::Id::NumExpressionIds: WASM_UNREACHABLE();
}
}
};