stage2 .debug_line: simpler strategy for incremental compilation

See #5963
This commit is contained in:
Andrew Kelley
2020-08-03 19:14:09 -07:00
parent 4e023c6fa8
commit ac10841fa9
3 changed files with 122 additions and 181 deletions

View File

@@ -506,10 +506,6 @@ pub const Scope = struct {
/// Direct children of the file.
decls: ArrayListUnmanaged(*Decl),
/// Represents the file in the linker code. The linker code
/// uses this field to store data relevant to its purposes.
link: link.File.Elf.SrcFile = link.File.Elf.SrcFile.empty,
pub fn unload(self: *File, gpa: *Allocator) void {
switch (self.status) {
.never_loaded,