fn format(data: FormatData, w: *Writer) Writer.Error!void
data: FormatData
w: *Writer
9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079
fn format(data: FormatData, w: *Writer) Writer.Error!void { switch (data.value.unwrap()) { .instruction => |instruction| try Function.Instruction.Index.format(.{ .instruction = instruction, .function = data.function, .builder = data.builder, .flags = data.flags, }, w), .constant => |constant| try Constant.format(.{ .constant = constant, .builder = data.builder, .flags = data.flags, }, w), .metadata => unreachable, } }