diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-03 20:04:47 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-10 20:40:04 -0700 |
| commit | 85c69c51945d7fb5d4cd2dea03fdb7915ecc55fa (patch) | |
| tree | 2705f666129a04e8100861d056f6df9bb89fd582 /src/link/Dwarf.zig | |
| parent | fb16ad3add77eff23f9c5dbaf802fdecfb4c8cc0 (diff) | |
| download | zig-85c69c51945d7fb5d4cd2dea03fdb7915ecc55fa.tar.gz zig-85c69c51945d7fb5d4cd2dea03fdb7915ecc55fa.zip | |
Type.isSlice: make it InternPool aware
Diffstat (limited to 'src/link/Dwarf.zig')
| -rw-r--r-- | src/link/Dwarf.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Dwarf.zig b/src/link/Dwarf.zig index 9c6e54ea98..682431203e 100644 --- a/src/link/Dwarf.zig +++ b/src/link/Dwarf.zig @@ -258,7 +258,7 @@ pub const DeclState = struct { } }, .Pointer => { - if (ty.isSlice()) { + if (ty.isSlice(mod)) { // Slices are structs: struct { .ptr = *, .len = N } const ptr_bits = target.ptrBitWidth(); const ptr_bytes = @intCast(u8, @divExact(ptr_bits, 8)); |
