| ... | ... | @@ -1949,7 +1949,7 @@ pub const ModuleDebugInfo = switch (native_os) { |
| 1949 | 1949 | addr_table: std.StringHashMap(u64), |
| 1950 | 1950 | }; |
| 1951 | 1951 | |
| 1952 | | fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 1952 | pub fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 1953 | 1953 | var it = self.ofiles.iterator(); |
| 1954 | 1954 | while (it.next()) |entry| { |
| 1955 | 1955 | const ofile = entry.value_ptr; |
| ... | ... | @@ -2148,7 +2148,7 @@ pub const ModuleDebugInfo = switch (native_os) { |
| 2148 | 2148 | /// Only used if debug_data is .pdb |
| 2149 | 2149 | coff_section_headers: []coff.SectionHeader, |
| 2150 | 2150 | |
| 2151 | | fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 2151 | pub fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 2152 | 2152 | self.debug_data.deinit(allocator); |
| 2153 | 2153 | if (self.debug_data == .pdb) { |
| 2154 | 2154 | allocator.free(self.coff_section_headers); |
| ... | ... | @@ -2221,7 +2221,7 @@ pub const ModuleDebugInfo = switch (native_os) { |
| 2221 | 2221 | mapped_memory: []align(mem.page_size) const u8, |
| 2222 | 2222 | external_mapped_memory: ?[]align(mem.page_size) const u8, |
| 2223 | 2223 | |
| 2224 | | fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 2224 | pub fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 2225 | 2225 | self.dwarf.deinit(allocator); |
| 2226 | 2226 | os.munmap(self.mapped_memory); |
| 2227 | 2227 | if (self.external_mapped_memory) |m| os.munmap(m); |
| ... | ... | @@ -2240,7 +2240,7 @@ pub const ModuleDebugInfo = switch (native_os) { |
| 2240 | 2240 | } |
| 2241 | 2241 | }, |
| 2242 | 2242 | .wasi => struct { |
| 2243 | | fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 2243 | pub fn deinit(self: *@This(), allocator: mem.Allocator) void { |
| 2244 | 2244 | _ = self; |
| 2245 | 2245 | _ = allocator; |
| 2246 | 2246 | } |