| ... | @@ -98,10 +98,6 @@ string_literal_bytes: ArrayListUnmanaged(u8) = .{}, | ... | @@ -98,10 +98,6 @@ string_literal_bytes: ArrayListUnmanaged(u8) = .{}, |
| 98 | | 98 | |
| 99 | /// Stores all Type and Value objects; periodically garbage collected. | 99 | /// Stores all Type and Value objects; periodically garbage collected. |
| 100 | intern_pool: InternPool = .{}, | 100 | intern_pool: InternPool = .{}, |
| 101 | /// Temporarily used for some unfortunate allocations made by backends that need to construct | | |
| 102 | /// pointer types that can't be represented by the InternPool. Once all types are migrated | | |
| 103 | /// to be stored in the InternPool, this can be removed. | | |
| 104 | tmp_hack_arena: std.heap.ArenaAllocator, | | |
| 105 | | 101 | |
| 106 | /// The set of all the generic function instantiations. This is used so that when a generic | 102 | /// The set of all the generic function instantiations. This is used so that when a generic |
| 107 | /// function is called twice with the same comptime parameter arguments, both calls dispatch | 103 | /// function is called twice with the same comptime parameter arguments, both calls dispatch |
| ... | @@ -3423,7 +3419,6 @@ pub fn deinit(mod: *Module) void { | ... | @@ -3423,7 +3419,6 @@ pub fn deinit(mod: *Module) void { |
| 3423 | mod.string_literal_bytes.deinit(gpa); | 3419 | mod.string_literal_bytes.deinit(gpa); |
| 3424 | | 3420 | |
| 3425 | mod.intern_pool.deinit(gpa); | 3421 | mod.intern_pool.deinit(gpa); |
| 3426 | mod.tmp_hack_arena.deinit(); | | |
| 3427 | } | 3422 | } |
| 3428 | | 3423 | |
| 3429 | pub fn destroyDecl(mod: *Module, decl_index: Decl.Index) void { | 3424 | pub fn destroyDecl(mod: *Module, decl_index: Decl.Index) void { |