aboutsummaryrefslogtreecommitdiff
path: root/src/ssa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssa.cpp')
-rw-r--r--src/ssa.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ssa.cpp b/src/ssa.cpp
index 5bd149d5a..82fbdb22f 100644
--- a/src/ssa.cpp
+++ b/src/ssa.cpp
@@ -2138,12 +2138,12 @@ void ssa_build_stmt_internal(ssaProc *p, AstNode *node) {
GB_PANIC("TODO: RangeStmt");
case_end;
- case_ast_node(rs, MatchStmt, node);
- GB_PANIC("TODO: MatchStmt");
+ case_ast_node(rs, SwitchStmt, node);
+ GB_PANIC("TODO: SwitchStmt");
case_end;
- case_ast_node(rs, TypeMatchStmt, node);
- GB_PANIC("TODO: TypeMatchStmt");
+ case_ast_node(rs, TypeSwitchStmt, node);
+ GB_PANIC("TODO: TypeSwitchStmt");
case_end;
case_ast_node(bs, BranchStmt, node);
@@ -2445,7 +2445,7 @@ bool ssa_generate(Parser *parser, CheckerInfo *info) {
m.entry_point_entity = entry_point;
- m.min_dep_map = generate_minimum_dependency_map(info, entry_point);
+ m.min_dep_map = generate_minimum_dependency_set(info, entry_point);
for_array(i, info->entities.entries) {
auto *entry = &info->entities.entries[i];