| ... | ... | @@ -6972,8 +6972,7 @@ pub const Constant = enum(u32) { |
| 6972 | 6972 | .vector, |
| 6973 | 6973 | => builder.constantExtraData(Aggregate, item.data).type, |
| 6974 | 6974 | .splat => builder.constantExtraData(Splat, item.data).type, |
| 6975 | | .string, |
| 6976 | | => builder.arrayTypeAssumeCapacity( |
| 6975 | .string => builder.arrayTypeAssumeCapacity( |
| 6977 | 6976 | @as(String, @enumFromInt(item.data)).slice(builder).?.len, |
| 6978 | 6977 | .i8, |
| 6979 | 6978 | ), |
| ... | ... | @@ -13594,8 +13593,7 @@ pub fn toBitcode(self: *Builder, allocator: Allocator) bitcode_writer.Error![]co |
| 13594 | 13593 | try bitcode.writeBits(c, Constants.Aggregate.ops[1].array_fixed); |
| 13595 | 13594 | } |
| 13596 | 13595 | }, |
| 13597 | | .string, |
| 13598 | | => { |
| 13596 | .string => { |
| 13599 | 13597 | const str: String = @enumFromInt(data); |
| 13600 | 13598 | if (str == .none) { |
| 13601 | 13599 | try constants_block.writeAbbrev(Constants.Null{}); |