| ... | @@ -536,9 +536,9 @@ const DocData = struct { | ... | @@ -536,9 +536,9 @@ const DocData = struct { |
| 536 | \\ | 536 | \\ |
| 537 | , .{ v.is_allowzero, v.is_mutable, v.is_volatile, v.has_sentinel, v.has_align, v.has_addrspace, v.has_bit_range }); | 537 | , .{ v.is_allowzero, v.is_mutable, v.is_volatile, v.has_sentinel, v.has_align, v.has_addrspace, v.has_bit_range }); |
| 538 | if (options.whitespace) |ws| try ws.outputIndent(w); | 538 | if (options.whitespace) |ws| try ws.outputIndent(w); |
| 539 | // try w.print( | 539 | try w.print( |
| 540 | // \\"child": | 540 | \\"child": |
| 541 | // , .{}); | 541 | , .{}); |
| 542 | | 542 | |
| 543 | if (options.whitespace) |*ws| ws.indent_level += 1; | 543 | if (options.whitespace) |*ws| ws.indent_level += 1; |
| 544 | try v.child.jsonStringify(options, w); | 544 | try v.child.jsonStringify(options, w); |
| ... | @@ -2761,9 +2761,10 @@ fn analyzeFunction( | ... | @@ -2761,9 +2761,10 @@ fn analyzeFunction( |
| 2761 | const extra = file.zir.extraData(Zir.Inst.ExtendedFunc, inst_data.payload_index); | 2761 | const extra = file.zir.extraData(Zir.Inst.ExtendedFunc, inst_data.payload_index); |
| 2762 | var cc_index: ?usize = null; | 2762 | var cc_index: ?usize = null; |
| 2763 | if (extra.data.bits.has_cc) { | 2763 | if (extra.data.bits.has_cc) { |
| 2764 | const cc_ref = @intToEnum(Zir.Inst.Ref, file.zir.extra[extra.end]); | 2764 | // @panic with .calling_convention_inline |
| 2765 | _ = try self.walkRef(file, scope, cc_ref, false); | 2765 | // const cc_ref = @intToEnum(Zir.Inst.Ref, file.zir.extra[extra.end]); |
| 2766 | cc_index = self.types.items.len - 1; | 2766 | // _ = try self.walkRef(file, scope, cc_ref, false); |
| | 2767 | // cc_index = self.types.items.len - 1; |
| 2767 | } | 2768 | } |
| 2768 | | 2769 | |
| 2769 | break :blk .{ | 2770 | break :blk .{ |
| ... | @@ -2773,7 +2774,7 @@ fn analyzeFunction( | ... | @@ -2773,7 +2774,7 @@ fn analyzeFunction( |
| 2773 | .params = param_type_refs.items, | 2774 | .params = param_type_refs.items, |
| 2774 | .ret = ret_type_ref.expr, | 2775 | .ret = ret_type_ref.expr, |
| 2775 | .is_extern = extra.data.bits.is_extern, | 2776 | .is_extern = extra.data.bits.is_extern, |
| 2776 | .has_cc = extra.data.bits.has_cc, | 2777 | // .has_cc = extra.data.bits.has_cc, |
| 2777 | .is_inferred_error = extra.data.bits.is_inferred_error, | 2778 | .is_inferred_error = extra.data.bits.is_inferred_error, |
| 2778 | .cc = cc_index, | 2779 | .cc = cc_index, |
| 2779 | }, | 2780 | }, |