| ... | @@ -1011,7 +1011,7 @@ pub const Scope = struct { | ... | @@ -1011,7 +1011,7 @@ pub const Scope = struct { |
| 1011 | param_types: []const zir.Inst.Ref, | 1011 | param_types: []const zir.Inst.Ref, |
| 1012 | ret_ty: zir.Inst.Ref, | 1012 | ret_ty: zir.Inst.Ref, |
| 1013 | cc: zir.Inst.Ref, | 1013 | cc: zir.Inst.Ref, |
| 1014 | }) !zir.Inst.Index { | 1014 | }) !zir.Inst.Ref { |
| 1015 | assert(args.ret_ty != 0); | 1015 | assert(args.ret_ty != 0); |
| 1016 | assert(args.cc != 0); | 1016 | assert(args.cc != 0); |
| 1017 | const gpa = gz.zir_code.gpa; | 1017 | const gpa = gz.zir_code.gpa; |
| ... | @@ -1075,7 +1075,7 @@ pub const Scope = struct { | ... | @@ -1075,7 +1075,7 @@ pub const Scope = struct { |
| 1075 | args: []const zir.Inst.Ref, | 1075 | args: []const zir.Inst.Ref, |
| 1076 | /// Absolute node index. This function does the conversion to offset from Decl. | 1076 | /// Absolute node index. This function does the conversion to offset from Decl. |
| 1077 | abs_node_index: ast.Node.Index, | 1077 | abs_node_index: ast.Node.Index, |
| 1078 | ) !zir.Inst.Index { | 1078 | ) !zir.Inst.Ref { |
| 1079 | assert(callee != 0); | 1079 | assert(callee != 0); |
| 1080 | assert(abs_node_index != 0); | 1080 | assert(abs_node_index != 0); |
| 1081 | const gpa = gz.zir_code.gpa; | 1081 | const gpa = gz.zir_code.gpa; |