| ... | ... | @@ -5972,7 +5972,9 @@ pub const FuncGen = struct { |
| 5972 | 5972 | } |
| 5973 | 5973 | |
| 5974 | 5974 | if (!std.mem.eql(u8, name, "_")) { |
| 5975 | | name_map.putAssumeCapacityNoClobber(name, total_i); |
| 5975 | const gop = name_map.getOrPutAssumeCapacity(name); |
| 5976 | if (gop.found_existing) return self.todo("duplicate asm output name '{s}'", .{name}); |
| 5977 | gop.value_ptr.* = total_i; |
| 5976 | 5978 | } |
| 5977 | 5979 | total_i += 1; |
| 5978 | 5980 | } |
| ... | ... | @@ -6028,7 +6030,9 @@ pub const FuncGen = struct { |
| 6028 | 6030 | } |
| 6029 | 6031 | |
| 6030 | 6032 | if (!std.mem.eql(u8, name, "_")) { |
| 6031 | | name_map.putAssumeCapacityNoClobber(name, total_i); |
| 6033 | const gop = name_map.getOrPutAssumeCapacity(name); |
| 6034 | if (gop.found_existing) return self.todo("duplicate asm input name '{s}'", .{name}); |
| 6035 | gop.value_ptr.* = total_i; |
| 6032 | 6036 | } |
| 6033 | 6037 | |
| 6034 | 6038 | // In the case of indirect inputs, LLVM requires the callsite to have |