| ... | @@ -6481,7 +6481,9 @@ pub const WipFunction = struct { | ... | @@ -6481,7 +6481,9 @@ pub const WipFunction = struct { |
| 6481 | self.instructions.appendAssumeCapacity(instruction); | 6481 | self.instructions.appendAssumeCapacity(instruction); |
| 6482 | if (!self.builder.strip) { | 6482 | if (!self.builder.strip) { |
| 6483 | self.names.appendAssumeCapacity(final_name); | 6483 | self.names.appendAssumeCapacity(final_name); |
| 6484 | if (!std.meta.eql(self.current_debug_location, self.last_debug_location)) { | 6484 | if (block_instructions.items.len == 0 or |
| | 6485 | self.current_debug_location != self.last_debug_location) |
| | 6486 | { |
| 6485 | self.debug_locations.putAssumeCapacity(index, self.current_debug_location); | 6487 | self.debug_locations.putAssumeCapacity(index, self.current_debug_location); |
| 6486 | self.last_debug_location = self.current_debug_location; | 6488 | self.last_debug_location = self.current_debug_location; |
| 6487 | } | 6489 | } |