| ... | ... | @@ -16813,7 +16813,6 @@ fn zirTypeInfo(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 16813 | 16813 | .val = .void_value, |
| 16814 | 16814 | } }))), |
| 16815 | 16815 | .Fn => { |
| 16816 | | // TODO: look into memoizing this result. |
| 16817 | 16816 | var params_anon_decl = try block.startAnonDecl(); |
| 16818 | 16817 | defer params_anon_decl.deinit(); |
| 16819 | 16818 | |
| ... | ... | @@ -17270,7 +17269,6 @@ fn zirTypeInfo(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 17270 | 17269 | } }))); |
| 17271 | 17270 | }, |
| 17272 | 17271 | .Enum => { |
| 17273 | | // TODO: look into memoizing this result. |
| 17274 | 17272 | const is_exhaustive = Value.makeBool(ip.indexToKey(ty.toIntern()).enum_type.tag_mode != .nonexhaustive); |
| 17275 | 17273 | |
| 17276 | 17274 | var fields_anon_decl = try block.startAnonDecl(); |
| ... | ... | @@ -17397,8 +17395,6 @@ fn zirTypeInfo(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 17397 | 17395 | } }))); |
| 17398 | 17396 | }, |
| 17399 | 17397 | .Union => { |
| 17400 | | // TODO: look into memoizing this result. |
| 17401 | | |
| 17402 | 17398 | var fields_anon_decl = try block.startAnonDecl(); |
| 17403 | 17399 | defer fields_anon_decl.deinit(); |
| 17404 | 17400 | |
| ... | ... | @@ -17547,8 +17543,6 @@ fn zirTypeInfo(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 17547 | 17543 | } }))); |
| 17548 | 17544 | }, |
| 17549 | 17545 | .Struct => { |
| 17550 | | // TODO: look into memoizing this result. |
| 17551 | | |
| 17552 | 17546 | var fields_anon_decl = try block.startAnonDecl(); |
| 17553 | 17547 | defer fields_anon_decl.deinit(); |
| 17554 | 17548 | |
| ... | ... | @@ -17781,8 +17775,6 @@ fn zirTypeInfo(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 17781 | 17775 | } }))); |
| 17782 | 17776 | }, |
| 17783 | 17777 | .Opaque => { |
| 17784 | | // TODO: look into memoizing this result. |
| 17785 | | |
| 17786 | 17778 | const type_opaque_ty = t: { |
| 17787 | 17779 | const type_opaque_ty_decl_index = (try sema.namespaceLookup( |
| 17788 | 17780 | block, |