| ... | ... | @@ -2329,11 +2329,8 @@ fn resolveSymbols(self: *MachO) !void { |
| 2329 | 2329 | |
| 2330 | 2330 | // Convert any tentative definition into a regular symbol and allocate |
| 2331 | 2331 | // text blocks for each tentative defintion. |
| 2332 | | var tentatives_count: usize = 0; |
| 2333 | | const ntentatives = tentatives.count(); |
| 2334 | | while (tentatives_count < ntentatives) : (tentatives_count += 1) { |
| 2335 | | const index = tentatives.pop().key; |
| 2336 | | const sym = &self.globals.items[index]; |
| 2332 | while (tentatives.popOrNull()) |entry| { |
| 2333 | const sym = &self.globals.items[entry.key]; |
| 2337 | 2334 | const match: MatchingSection = blk: { |
| 2338 | 2335 | if (self.common_section_index == null) { |
| 2339 | 2336 | const data_seg = &self.load_commands.items[self.data_segment_cmd_index.?].Segment; |