| ... | @@ -5855,7 +5855,7 @@ fn airIntFromPtr(f: *Function, inst: Air.Inst.Index) !CValue { | ... | @@ -5855,7 +5855,7 @@ fn airIntFromPtr(f: *Function, inst: Air.Inst.Index) !CValue { |
| 5855 | try f.renderType(writer, inst_ty); | 5855 | try f.renderType(writer, inst_ty); |
| 5856 | try writer.writeByte(')'); | 5856 | try writer.writeByte(')'); |
| 5857 | if (operand_ty.isSlice(mod)) { | 5857 | if (operand_ty.isSlice(mod)) { |
| 5858 | try f.writeCValueMember(writer, operand, .{ .identifier = "len" }); | 5858 | try f.writeCValueMember(writer, operand, .{ .identifier = "ptr" }); |
| 5859 | } else { | 5859 | } else { |
| 5860 | try f.writeCValue(writer, operand, .Other); | 5860 | try f.writeCValue(writer, operand, .Other); |
| 5861 | } | 5861 | } |