diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-03-09 11:53:06 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-03-14 07:40:07 +0000 |
| commit | 1421d329a3bbe4891eda8f234139be787fefcd2f (patch) | |
| tree | 3439ccd40fe2b59801410d792ab9ad3f62f397bc /src/InternPool.zig | |
| parent | 7ba8641d19b719c11c0f6177fb28fa098a769e1f (diff) | |
| download | zig-1421d329a3bbe4891eda8f234139be787fefcd2f.tar.gz zig-1421d329a3bbe4891eda8f234139be787fefcd2f.zip | |
compiler: progress towards incremental
Most basic re-analysis logic is now in place. Trivial updates are
hitting linker assertions.
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index 64da7fc043..b1acb0f9b0 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -7103,7 +7103,7 @@ pub fn getGeneratedTagEnumType(ip: *InternPool, gpa: Allocator, ini: GeneratedTa return @enumFromInt(gop.index); } -pub const OpaqueTypeIni = struct { +pub const OpaqueTypeInit = struct { has_namespace: bool, key: union(enum) { declared: struct { @@ -7117,7 +7117,7 @@ pub const OpaqueTypeIni = struct { }, }; -pub fn getOpaqueType(ip: *InternPool, gpa: Allocator, ini: OpaqueTypeIni) Allocator.Error!WipNamespaceType.Result { +pub fn getOpaqueType(ip: *InternPool, gpa: Allocator, ini: OpaqueTypeInit) Allocator.Error!WipNamespaceType.Result { const adapter: KeyAdapter = .{ .intern_pool = ip }; const gop = try ip.map.getOrPutAdapted(gpa, Key{ .opaque_type = switch (ini.key) { .declared => |d| .{ .declared = .{ |
