| ... | ... | @@ -1,6 +1,32 @@ |
| 1 | 1 | //! This type provides a wrapper around a `*Zcu` for uses which require a thread `Id`. |
| 2 | 2 | //! Any operation which mutates `InternPool` state lives here rather than on `Zcu`. |
| 3 | 3 | |
| 4 | const Air = @import("../Air.zig"); |
| 5 | const Allocator = std.mem.Allocator; |
| 6 | const assert = std.debug.assert; |
| 7 | const Ast = std.zig.Ast; |
| 8 | const AstGen = std.zig.AstGen; |
| 9 | const BigIntConst = std.math.big.int.Const; |
| 10 | const BigIntMutable = std.math.big.int.Mutable; |
| 11 | const build_options = @import("build_options"); |
| 12 | const builtin = @import("builtin"); |
| 13 | const Cache = std.Build.Cache; |
| 14 | const dev = @import("../dev.zig"); |
| 15 | const InternPool = @import("../InternPool.zig"); |
| 16 | const AnalUnit = InternPool.AnalUnit; |
| 17 | const isUpDir = @import("../introspect.zig").isUpDir; |
| 18 | const Liveness = @import("../Liveness.zig"); |
| 19 | const log = std.log.scoped(.zcu); |
| 20 | const Module = @import("../Package.zig").Module; |
| 21 | const Sema = @import("../Sema.zig"); |
| 22 | const std = @import("std"); |
| 23 | const target_util = @import("../target.zig"); |
| 24 | const trace = @import("../tracy.zig").trace; |
| 25 | const Type = @import("../Type.zig"); |
| 26 | const Value = @import("../Value.zig"); |
| 27 | const Zcu = @import("../Zcu.zig"); |
| 28 | const Zir = std.zig.Zir; |
| 29 | |
| 4 | 30 | zcu: *Zcu, |
| 5 | 31 | |
| 6 | 32 | /// Dense, per-thread unique index. |
| ... | ... | @@ -3659,29 +3685,3 @@ pub fn refValue(pt: Zcu.PerThread, val: InternPool.Index) Zcu.SemaError!InternPo |
| 3659 | 3685 | .byte_offset = 0, |
| 3660 | 3686 | } }); |
| 3661 | 3687 | } |
| 3662 | | |
| 3663 | | const Air = @import("../Air.zig"); |
| 3664 | | const Allocator = std.mem.Allocator; |
| 3665 | | const assert = std.debug.assert; |
| 3666 | | const Ast = std.zig.Ast; |
| 3667 | | const AstGen = std.zig.AstGen; |
| 3668 | | const BigIntConst = std.math.big.int.Const; |
| 3669 | | const BigIntMutable = std.math.big.int.Mutable; |
| 3670 | | const build_options = @import("build_options"); |
| 3671 | | const builtin = @import("builtin"); |
| 3672 | | const Cache = std.Build.Cache; |
| 3673 | | const dev = @import("../dev.zig"); |
| 3674 | | const InternPool = @import("../InternPool.zig"); |
| 3675 | | const AnalUnit = InternPool.AnalUnit; |
| 3676 | | const isUpDir = @import("../introspect.zig").isUpDir; |
| 3677 | | const Liveness = @import("../Liveness.zig"); |
| 3678 | | const log = std.log.scoped(.zcu); |
| 3679 | | const Module = @import("../Package.zig").Module; |
| 3680 | | const Sema = @import("../Sema.zig"); |
| 3681 | | const std = @import("std"); |
| 3682 | | const target_util = @import("../target.zig"); |
| 3683 | | const trace = @import("../tracy.zig").trace; |
| 3684 | | const Type = @import("../Type.zig"); |
| 3685 | | const Value = @import("../Value.zig"); |
| 3686 | | const Zcu = @import("../Zcu.zig"); |
| 3687 | | const Zir = std.zig.Zir; |