aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-09-22 22:08:34 -0400
committerGitHub <noreply@github.com>2021-09-22 22:08:34 -0400
commit0ec01e58b429e96d50411f74a0005076c24dda0c (patch)
tree5981b50b570382137f1cf4c1eb2f528cc6962f21 /src/Module.zig
parent3b09262c1252de0d9f946630e701be65bc5b2fc7 (diff)
parente03095f167cf0cd8c1424bff0de3c0a7b5f66b18 (diff)
downloadzig-0ec01e58b429e96d50411f74a0005076c24dda0c.tar.gz
zig-0ec01e58b429e96d50411f74a0005076c24dda0c.zip
Merge pull request #9717 from SpexGuy/stage2-start-windows
Make stage2 start.zig work on Windows
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 70c90d9c01..861648d689 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -3758,13 +3758,6 @@ pub fn clearDecl(
dep.removeDependency(decl);
if (outdated_decls) |map| {
map.putAssumeCapacity(dep, {});
- } else if (std.debug.runtime_safety) {
- // If `outdated_decls` is `null`, it means we're being called from
- // `Compilation` after `performAllTheWork` and we cannot queue up any
- // more work. `dep` must necessarily be another Decl that is no longer
- // being referenced, and will be in the `deletion_set`. Otherwise,
- // something has gone wrong.
- assert(mod.deletion_set.contains(dep));
}
}
decl.dependants.clearRetainingCapacity();